Make a Payment
post/v3/payment
Request
- Base URLhttps://sandbox.api.mxmerchant.com/checkout
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
echoboolean
includeCustomerMatchesboolean
Return customers that have this card vaulted in their account
Request body
Response
201
Example response
{
"created": "2018-03-21T21:34:15.24Z",
"paymentToken": "Pfcyy68HAtwxb0hM2mpYHLEzc5nSESc3",
"id": 22028828,
"creatorName": "John Doe",
"merchantId": 418324776,
"batch": "Z08X0",
"batchId": 2092732,
"tenderType": "Card",
"currency": "USD",
"amount": "0.01",
"cardAccount": {
"cardType": "Visa",
"entryMode": "Keyed",
"last4": "1111",
"cardId": "y15QvOteHZGBm7LH3GNIlTWbA1If",
"token": "Pfcyy68HAtwxb0hM2mpYHLEzc5nSESc3",
"expiryMonth": "01",
"expiryYear": "19"
},
"authCode": "PPSVI7",
"status": "Approved",
"meta": "Memo Field",
"risk": {
"cvvResponseCode": "M",
"cvvResponse": "Match",
"cvvMatch": true,
"avsResponseCode": "Y",
"avsAddressMatch": true,
"avsZipMatch": true
},
"customer": {
"id": 10696183,
"created": "2017-09-25T15:18:08.89Z",
"name": "Jane Doe",
"firstName": "Jane",
"lastName": "Doe",
"sales": "0",
"loyaltyStatus": "Enrolled",
"loyaltyEnrolled": "2017-09-25T15:18:08.89Z",
"displayColor": "A1BC3A"
},
"settledAmount": "0",
"settledCurrency": "USD",
"authMessage": "AUTH/TKT PPSVI7",
"availableAuthAmount": "0",
"reference": "053DO00MMCL7",
"tax": "0",
"invoice": "P000EBX6",
"clientReference": "053DO00MMCL7",
"replayId": "P000EBX6",
"type": "Sale",
"source": "API"
}Changes
No recorded changes to this operation across all 1 revision of this API.