cURL
curl --request GET \ --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/payments/{payment_id}/admissions \ --header 'X-PAYLIAS-API-KEY: <api-key>' \ --header 'x-org-id: <x-org-id>' \ --header 'x-partner-id: <x-partner-id>'
{ "ok": true, "data": { "admission_time": 1743272447, "organization_id": "org_ct239n420or249k5bo90", "partner_id": "part_ct23b6420or249k5boag", "payment_id": "cjes76vsemvj3obsnc52", "status": 1, "token": "pay_adm_cvk3jvs20or8munut3mg", "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": "Payee_Individual" }, "device": {}, "expires_at": 1743273661, "initiated_at": 1743270060, "location": {}, "organization_id": "org_ct239n420or249k5bo90", "partner_id": "part_ct23b6420or249k5boag", "payment_id": "cjes76vsemvj3obsnc52", "reference": "INV0001" } } } }
Fetch Payment Admission by 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 admission information
Standard response structure for successful operations
Indicates if the operation was successful
true
Admission of a payment into the system, including metadata and relationships
Show child attributes
Was this page helpful?