# Check payment status

Use these test cards to test the different payment results.

GET https://connect-api.paytriot.co.uk/v0/payment/status/:reference_id

# Parameters

# Path

Parameter Type Description
reference_id * string Merchant's reference identifier for this transaction

# Example

# Sample request

curl "https://connect-api.paytriot.co.uk/v0/payment/status/8a78f98b-1555-4acb-9b9d-ab2d7e44f807"

# Sample response

{
   "id":"619d20bb5e796f000e1749af",
   "reference_id":"8a78f98b-1555-4acb-9b9d-ab2d7e44f807",
   "amount_charged":12.42,
   "amount_charged_currency":"BRL",
   "amount":2,
   "currency":"USD",
   "country":"BR",
   "card_statement_descriptor":"ptClient",
   "live_mode":true,
   "merchant_id":"1e5bdfdd-4017-49f8-b48a-5fd2c7d7c15c",
   "payment_method_id":"card",
   "status":"approved",
   "user_id":"your_id",
   "created_at":"2021-11-23T17:11:23.340Z",
   "updated_at":"2021-11-23T17:12:19.062Z"
}