POST
/
sender
/
orders
Initiate payment order
curl --request POST \
  --url https://api.paycrest.io/v1/sender/orders \
  --header 'API-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "token": "<string>",
  "rate": 123,
  "network": "base",
  "recipient": {
    "institution": "<string>",
    "accountIdentifier": "<string>",
    "accountName": "<string>",
    "memo": "<string>",
    "providerId": "<string>",
    "metadata": {},
    "currency": "<string>"
  },
  "reference": "<string>",
  "returnAddress": "<string>"
}'
{
  "status": "success",
  "message": "Operation successful",
  "data": {
    "id": "<string>",
    "amount": "<string>",
    "token": "<string>",
    "network": "base",
    "receiveAddress": "<string>",
    "validUntil": "2023-11-07T05:31:56Z",
    "senderFee": 123,
    "transactionFee": 123,
    "reference": "<string>"
  }
}
Initiate a new payment order as a sender.

Authorizations

API-Key
string
header
required

Body

application/json

Response

201
application/json

Payment order initiated

The response is of type object.