Get transaction
GET
Retrieve a single transaction by ID.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
id*stringUnique transaction ID
x-api-key*stringAPI key for authentication
Length
1 <= lengthResponse for status 200
application/json- response
id*stringamount*numbercurrency*stringstatus*stringtx_ref*string|nullpayment_method*string|nullreceipt_image_url*string|nullcreated_at*stringupdated_at*stringcustomer*curl -X GET 'https://api.tryaccess.xyz/api/v1/transactions/tx_01J9Z8K2P3Q4R5S6T7U8V9W0X1' \ -H 'x-api-key: string'{ "id": "string", "amount": 0, "currency": "string", "status": "string", "tx_ref": "string", "payment_method": "string", "receipt_image_url": "string", "created_at": "string", "updated_at": "string", "customer": { "id": "string", "name": "string", "email": "string", "phone_number": "string" }}How is this guide?