Card Payment Event - Structure
The fields that have been updated for this webhook are:
| Field | Sample Value |
|---|---|
| id | “P01MD1LRPMMV14PYEQG” |
| event_id | “HI05137EJ74XZY6J4QOM” |
| legacy_id | null |
| created_at | “2024-04-09T09:38:56Z” |
| collection_date | “2024-04-09” |
| amount | 2750 |
| payment_type | “MOTO” |
| currency_code | “GBP” |
| status | “successful” |
| edited_at | “2024-04-09T09:38:56Z” |
| represented_collection_date | null |
| custom_reference | null |
| event_source | “API” |
| record_type | “card_payment” |
| description | “Payment” |
| event_type | “payment.create” |
| metadata | null |
| client:id | “CL01LG420EJ9DP1VQWR9” |
| created_by | null |
| edited_by | null |
| customer_account:id | “CA01ZO41Y8DZ19P0GNLW” |
| customer_account:legacy_id | null |
| recurrence_schedule | null |
| related_payment | null |
| direct_debit | null |
| card_payment:status_details | null |
| card_payment:status_code | null |
| card_payment:internal_payment_description | null |
| card_payment:gateway_payment_description | null |
| card_payment:authorisation_code | “21770393” |
| card_payment:transaction_id | “20CEEA1D-0FCD-22FD-201D-B69BB78DB617” |
| card_payment:order_id | null |
| card_payment:charge_id | “CD0175OW1YJVQK8X29LV_1712651935” |
| card_payment:gateway_status | “Ok” |
| card_payment:gateway_status_code | “0000” |
| card_payment:gateway_status_details | “The Authorisation was Successful.” |
| card_payment:card:id | “CD0175OW1YJVQK8X29LV” |
| card_payment:card:legacy_id | null |
{
"id":{VALUE},
"idempotency_key":{VALUE},
"sent_at":{VALUE},
"client":{
"id":{VALUE}
},
"events":[
{
"id":{VALUE},
"event_id":{VALUE},
"legacy_id":{VALUE},
"created_at":{VALUE},
"collection_date":{VALUE},
"currency_code":{VALUE},
"amount":{VALUE},
"payment_type":{VALUE},
"status":{VALUE},
"edited_at":{VALUE},
"represented_collection_date":{VALUE},
"custom_reference":{VALUE},
"event_source":{VALUE},
"record_type":{VALUE},
"description":{VALUE},
"event_type":{VALUE},
"direct_debit":{VALUE},
"metadata":{VALUE},
"client":{
"id":{VALUE}
},
"created_by":{
"id":{VALUE}
},
"edited_by":{
"id":{VALUE}
},
"customer_account":{
"id":{VALUE},
"legacy_id":{VALUE}
},
"recurrence_schedule":{
"id":{VALUE},
"legacy_id":{VALUE}
},
"related_payment":{
"id":{VALUE},
"legacy_id":{VALUE}
},
"card_payment":{
"status_details":{VALUE},
"status_code":{VALUE},
"internal_payment_description":{VALUE},
"gateway_payment_description":{VALUE},
"authorisation_code":{VALUE},
"transaction_id":{VALUE},
"order_id":{VALUE},
"charge_id":{VALUE},
"metadata":{VALUE},
"gateway_status":{VALUE},
"gateway_status_code":{VALUE},
"gateway_status_details":{VALUE},
"card"{
"id":{VALUE},
"legacy_id":{VALUE}
}
}
}
]
}
Note: Property display order for documentation purposes, actual order may vary.