POST
/
api
/
v1
/
payments
/
submit
curl --request POST \
  --url https://cashpay.space/api/v1/payments/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "invoiceId": "<string>",
  "webReceipt": "<string>"
}'
{
  "id": "<string>",
  "paymentUrl": "<string>",
  "cashTag": "<string>",
  "note": "<string>",
  "amount": 123,
  "isWhiteLabel": true,
  "receiptId": "<string>",
  "paidAmount": 123,
  "status": "PENDING",
  "returnUrl": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successfully submitted web receipt

The response is of type object.