cURL
curl --request POST \ --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/payments/{payment_id}/submissions \ --header 'X-PAYLIAS-API-KEY: <api-key>' \ --header 'idempotency-key: <idempotency-key>' \ --header 'x-org-id: <x-org-id>' \ --header 'x-partner-id: <x-partner-id>'
{ "ok": true, "data": { "organization_id": "org_ct239n420or249k5bo90", "partner_id": "part_ct23b6420or249k5boag", "payment_id": "cjes76vsemvj3obsnc53", "status": 1, "submission_time": 1743273405, "token": "sub_cvk3rfc20or8munut3tg", "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": 1743276991, "initiated_at": 1743273391, "location": {}, "organization_id": "org_ct239n420or249k5bo90", "partner_id": "part_ct23b6420or249k5boag", "payment_id": "cjes76vsemvj3obsnc53", "reference": "INV0001" } } } }
Create Payment Submission
The Organization ID header used for authorization
The Partner ID header used for authorization
The Idempotency Key - usually a UUID
The unique identifier for the payment
"pay_123456789"
Response containing payment submission information
Standard response structure for successful operations
Indicates if the operation was successful
true
Submission of a payment, including metadata and relationships
Show child attributes
Was this page helpful?