The following endpoint can be used to retrieve the details of a payment within the CoCard Pay Center application.
The following endpoint can be used to retrieve a payment. You must replace the {base_url} , {external_id} and {site_id} variables with the appropriate values.
{
"_id": "61f32dc2f62bdc6a48945067",
"external_id": "65432325",
"payment_type": "payment_card",
"payment_sub_type": "amex",
"display_name": "AMEX ****** 3422",
"last_4": "3422",
"amount": 30,
"paid_on": "2021-03-15T16:32:11Z",
"status": "captured",
"transaction_type": "capture",
"active": true,
"created_at": "2025-05-30T19:19:44.143Z",
"updated_at": "2025-05-30T19:19:44.143Z"
}