cURL
curl --request GET \ --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/payments/{payment_id}/exceptions \ --header 'X-PAYLIAS-API-KEY: <api-key>' \ --header 'x-org-id: <x-org-id>' \ --header 'x-partner-id: <x-partner-id>'
{ "ok": true, "data": { "count": 1, "exceptions": [ { "token": "pexc_cvk3rfk20or8munut4g0", "payment_id": "pay_123456789", "organization_id": "org_ct239n420or249k5bo90", "partner_id": "part_ct23b6420or249k5boag", "record_type": "PaymentSubmission", "exception_code": "O001", "exception_message": "Debtor party payment address is missing", "blame": "debtor_party", "relationships": { "payment": { "amount": { "currency": "USD", "total": "10000" }, "beneficiary_party": { "billing": { "country": "US" }, "email": "[email protected]", "first_name": "Ziyad", "last_name": "Parekh", "payment_address": "ziyad@safepay-platinum", "phone": "+923008277879", "type": "Payee_Individual" }, "debtor_party": { "billing": { "country": "US" }, "email": "[email protected]", "first_name": "John", "last_name": "Collison", "payment_address": "john@stripe-platinum", "phone": "+16462442945", "type": "Payer_Individual" }, "device": {}, "expires_at": 1743276991, "initiated_at": 1743273391, "location": {}, "organization_id": "org_ct239n420or249k5bo90", "partner_id": "part_ct23b6420or249k5boag", "payment_id": "pay_123456789", "reference": "INV0001" } } } ] } }
Find Payment Exceptions
The Organization ID header used for authorization
The Partner ID header used for authorization
The unique identifier for the payment
"pay_123456789"
Response containing a list of payment exceptions
Standard response structure for successful operations
Indicates if the operation was successful
true
Contains the response data
Show child attributes
Was this page helpful?