Payments
Retrieve a payment
get/api/v1/payment/{id}
Request
- Base URLhttps://api.crossborder.jiopay.co.in
- URLhttps://api.crossborder.jiopay.co.in/api/v1/payment/{id}
- AuthHTTP bearer
Path parameters
idstring required
Example:payt_E602dMzgjpDC
The unique identifier for the payment.
Response
OK
Example response
{
"id": "payt_E602dMzgjpDC",
"payin_id": "payin_E602dMzgjpDC",
"subscription_id": "sub_68877570b5zeE",
"payment_currency": "AED",
"payment_amount": 374580,
"converted_currency": "USD",
"converted_amount": 102000,
"requested_currency": "USD",
"requested_amount": 100000,
"purpose_code": "S0001",
"sender_name": "John Doe",
"notes": {
"policy_number": "POL-001"
},
"error_code": "PAYMENT_DECLINED",
"error_description": "The payment attempt was declined. This could be due to issuer rejection, risk assessment, or restrictions on the card or account. The customer should contact their bank or try a different payment method.",
"customer_error_description": "Your payment could not be completed. Please try a different payment method or contact your bank.",
"paid_at": "2024-12-06T11:38:37.130Z",
"created_at": "2024-12-06T11:38:37.130Z",
"updated_at": "2024-12-06T11:38:37.130Z",
"customer_id": "cust_E602sMzgjpDC",
"merchant_id": "merch_68c777fcOOMpl",
"product_name": "ShieldGuard Insurance",
"product_description": "Simple, monthly insurance plan that covers your basic belongings and key digital assets",
"country": "IND",
"fee_breakdown": {
"fx_fee": [
{
"amount": 250,
"currency": "USD",
"taxes": [
{
"amount": 1800,
"currency": "USD",
"name": "GST",
"bps": 1800
}
]
}
],
"txn_fee": [
{
"amount": 250,
"currency": "USD",
"taxes": [
{
"amount": 1800,
"currency": "USD",
"name": "GST",
"bps": 1800
}
]
}
],
"referral_fee": [
{
"amount": 250,
"currency": "USD",
"taxes": [
{
"amount": 1800,
"currency": "USD",
"name": "GST",
"bps": 1800
}
]
}
]
},
"documents": [
{
"id": "doc_nYUqLpuYQ0M8",
"type": "invoice",
"rfi_doc_id": "rfidoc_nYUqLpuYQ0M8"
}
],
"payment_method": {
"id": "swift_6883291fT7Rfw",
"details": {
"sender_name": "Vaibhav LRS",
"sender_country": "IND",
"sender_account_number": "5454545454",
"remittance_information": "PaymentForLrs"
}
},
"auto_debit": true,
"fees": {
"txn_fee": {
"amount": 1000,
"currency": "USD"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.