- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Payment request using tokenized card rest call failing
I'm using the Live Console page to generate a test payment using this request. I have confirmed the token number is valid and not expired. The response is saying that the request is missing fields, specifically the tokenized card number. I'm definitely include that. Can anyone point me in the right direction? Is there some other field required?
{
"clientReferenceInformation": {
"code": "XXXXXXX"
},
"paymentInformation": {
"tokenizedCard": {
"number": "XXXXXXXXXXXXXXXXX"
}
},
"orderInformation": {
"amountDetails": {
"totalAmount": "102.21",
"currency": "USD"
},
"billTo": {
"firstName": "John",
"lastName": "Doe",
"address1": "1 Market St",
"locality": "san francisco",
"administrativeArea": "CA",
"postalCode": "94105",
"country": "US",
"email": "test@cybs.com",
"phoneNumber": "4158880000"
}
}
}
Response:
{
"id": "7XXXXXXXXXXXXXXX",
"submitTimeUtc": "2025-04-16T18:17:28Z",
"status": "INVALID_REQUEST",
"reason": "MISSING_FIELD",
"message": "Declined - The request is missing one or more fields",
"details": [
{
"field": "paymentInformation.tokenizedCard.number",
"reason": "MISSING_FIELD"
}
]
}
04-16-2025 11:50 AM
