curl --request GET \ --url 'https://brain.orcuspay.com/api/v1/payments/pay_prod_8f499d0627da46a797fe998d7c4aa735' \ --header 'x-api-key: ak_prod_xxxxxxxxxxxx' \ --header 'x-api-secret: sk_prod_xxxxxxxxxxxx'
{ "id": "pay_prod_8f499d0627da46a797fe998d7c4aa735", "status": "SUCCEEDED", "amount": 500.00, "currency": "BDT", "transaction_id": "BGT649020260331166821", "payment_method": "sslcommerz", "customer": { "name": "Rahim Ahmed", "email": "rahim@gmail.com", "phone": "01827297490", "address": "House 81, Road 22, Sector 7, Uttara" }, "created_at": "2025-03-31T12:00:00.000Z", "updated_at": "2025-03-31T12:01:30.000Z" }
Retrieves the details of an existing payment.
PENDING
SUCCEEDED
FAILED
CANCELLED
REFUNDED
BDT
bkash_merchant
sslcommerz
Show Customer object