curl --request POST \
--url https://sandbox.paylias.xyz/gateway/api/v1/csp/payments \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-paylias-api-key: <API-KEY>' \
--header 'x-org-id: <Org-ID>' \
--header 'x-partner-id: <Partner-ID>' \
--header 'idempotency-key: <uuid>' \
--data '
{
"payment_id": "cjes76vsemvj3obsnc52",
"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"
}
},
"reference": "INV001",
"payment_type": "Type_Pull"
}
'