cURL
curl --request GET \ --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/payments/{payment_id} \ --header 'X-PAYLIAS-API-KEY: <api-key>' \ --header 'x-org-id: <x-org-id>' \ --header 'x-partner-id: <x-partner-id>'
{ "ok": true, "data": { "amount": { "currency": "USD", "total": "10000" }, "beneficiary_party": { "payment_address": "[email protected]", "first_name": "John", "last_name": "Doe", "email": "[email protected]", "phone": "+1234567890", "type": "Payee_Individual", "billing": { "country": "US" } }, "debtor_party": { "payment_address": "[email protected]", "first_name": "Jane", "last_name": "Smith", "email": "[email protected]", "phone": "+1987654321", "type": "Payer_Individual", "billing": { "country": "US" } }, "device": {}, "location": {}, "expires_at": "2023-08-13T08:55:04Z", "initiated_at": "2023-08-12T08:55:04Z", "organization_id": "org_d09gv1s20or2svojjmt0", "partner_id": "part_123456789", "payment_id": "pay_123456789", "reference": "INV001", "payment_type": "Type_Pull" } }
Find Payment
The Organization ID header used for authorization
The Partner ID header used for authorization
The unique identifier for the payment
"pay_123456789"
Response containing Payment information
Standard response structure for successful operations
Indicates if the operation was successful
true
Payment information
Show child attributes
Was this page helpful?