POST v1/ProfilePersons/{id}/SavedPaymentMethods/ProcessRemoteResponse

Processes the remote hosted SPM response.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PersonSPMProcessRemotePaymentResponseInput
NameDescriptionTypeAdditional information
responseData

string

Required

Request Formats

application/json, text/json

Sample:
{
  "responseData": "sample string 1"
}

text/html

Sample:
{"responseData":"sample string 1"}

application/xml, text/xml

Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.PersonSPMProcessRemotePaymentResponseInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
  <responseData>sample string 1</responseData>
</v1_ProfilePersons_ProfilePersonEndpointController.PersonSPMProcessRemotePaymentResponseInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PersonSPMProcessRemotePaymentResponseInput'.

Response Information

Resource Description

PersonSPMProcessRemotePaymentResponseOutput
NameDescriptionTypeAdditional information
Id

integer

None.

paymentType

string

None.

partialNumber

string

None.

expirationMonth

integer

None.

expirationYear

integer

None.

requireCVV

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "paymentType": "sample string 2",
  "partialNumber": "sample string 3",
  "expirationMonth": 4,
  "expirationYear": 5,
  "requireCVV": true
}

text/html

Sample:
{"Id":1,"paymentType":"sample string 2","partialNumber":"sample string 3","expirationMonth":4,"expirationYear":5,"requireCVV":true}

application/xml, text/xml

Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.PersonSPMProcessRemotePaymentResponseOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
  <Id>1</Id>
  <expirationMonth>4</expirationMonth>
  <expirationYear>5</expirationYear>
  <partialNumber>sample string 3</partialNumber>
  <paymentType>sample string 2</paymentType>
  <requireCVV>true</requireCVV>
</v1_ProfilePersons_ProfilePersonEndpointController.PersonSPMProcessRemotePaymentResponseOutput>