Charge events
Get transaction history for a charge
get/v1/api/accounts/{accountId}/charges/{chargeId}/events
Path parameters
accountIdinteger required
Gateway account ID
chargeIdstring required
Charge external ID
Response
OK
Example response
{
"charge_id": "2c6vtn9pth38ppbmnt20d57t49",
"events": [
{
"amount": 100,
"state": {
"code": "P0040",
"finished": true,
"message": "Payment was cancelled by service",
"status": "cancelled"
},
"type": "PAYMENT",
"updated": "2022-06-28T10:41:40.460Z"
}
]
}