Skip to content

Instantly share code, notes, and snippets.

@maxrolon
Created February 26, 2016 21:07
Show Gist options
  • Save maxrolon/5996fe20d5fa37086c9b to your computer and use it in GitHub Desktop.
Save maxrolon/5996fe20d5fa37086c9b to your computer and use it in GitHub Desktop.
{
"CustomerEmail": "[email protected]",
"CustomerFirstName": "Max",
"CustomerLastName": "Rolon",
"CustomerPhone": "1234567890",
"GiftCertificateID": 17494997,
"LocationID": 25626,
"PaymentItem": {
"Amount": {
"Amount": 30,
"CurrencyCode": "USD"
},
"CreditCard": {
"BillingZip": "10005",
"NameOnCard": "Test Customer",
"ExpirationDate": "/Date(1441080000000-0400)/",
"Number": "4111111111111111",
"SecurityCode": "123",
"Type": {
"ID": 2
}
},
"Method": {
"ID": 1,
"Name": ""
},
"CustomPaymentMethodID": null
},
"SendEmailReceipt": true,
"access_token": "b2bcd642-dbde-48c0-8102-be82d7f05eec"
}
ERRORS:
{
"ArgumentErrors": [
{
"ArgumentName": "CreditCard.ExpirationDate",
"ErrorMessage": "CreditCard has expired\r\n"
},
{
"ArgumentName": "CreditCard.Number",
"ErrorMessage": "Not valid.\r\n"
}
],
"ErrorCode": 200,
"ErrorMessage": "Validation Failure",
"IsSuccess": false,
"GiftCertificateNumber": null,
"OrderNumber": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment