I received an error when I try to send getHostedPaymentPageRequest.
Based on https://developer.authorize.net/api/reference/features/accept_hosted.html
Request:
{
"getHostedPaymentPageRequest": {
"merchantAuthentication": {
"name": "xxxx",
"transactionKey": "xxxx"
},
"transactionRequest": {
"transactionType": "authCaptureTransaction",
"amount": "1.00",
"profile": {
"customerProfileId": "xxx"
}
},
"hostedPaymentSettings": {
"setting": [{
"settingName": "hostedPaymentPaymentOptions",
"settingValue": "{\"customerProfileId\": true}"
}]
}
}
}
Response:
{
"messages": {
"resultCode": "Error",
"message": [
{
"code": "E00013",
"text": "Failed to add Option hostedPaymentPaymentOptions \r\n Property 'customerProfileId' has not been defined and the schema does not allow additional properties. Line 1, position 21."
}
]
}
}
It looks like a customerProfileId is not supported in hostedPaymentPaymentOptions. Any ideas?