Skip to main content
POST
/
v1
/
payments
/
{id}
/
receipt
Send payment receipt
curl --request POST \
  --url https://api.quentli.com/v1/payments/{id}/receipt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "channels": [],
    "email": "jsmith@example.com"
  }
}
'
{
  "paymentReceipt": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "paymentId": "p_1234567890abcdefghij",
    "messageId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Path Parameters

id
string
required

Identifier of the payment.

Body

application/json

Request body for sending a payment receipt (payment id is provided in the URL path).

input
object
required

Response

Payment receipt sent

Response after sending a payment receipt.

paymentReceipt
object
required

Receipt message created for a payment.