post https://api.cpxenterprise.com/payment/v1/cancelCard
Cancel card, and updates transaction status to cancelled
{
"payload": {
"id": "2128762b-xxxx-1111-1111-12e01accd72f"
}
}
{
"id": "2111112b-b817-4d8b-b2aa-12e01accd72f",
"modifier": {
"id": "630876511111732160",
"username": "user.cpx"
},
"format": "2.3",
"timestamp": "2019-03-15T14:54:40.603Z",
"changes": {
"cancelled": "2019-03-15T14:54:40.603Z",
"paymentAuthMessage": "Card cancelled",
"paymentStatus": "Cancelled"
},
"originator": "cpx-enterprise",
"originInfo": {
"hostname": "sandbox-cpx-enterprise-api-payment-1111111",
"versionInfo": {
"name": "CPX Enterprise Payment API",
"build": "1.47.1949"
},
"packageInfo": {
"name": "cpx-enterprise-api-payment",
"version": "1.0.0"
}
},
"overwrite": false,
"environment": "sandbox-atl"
}