Send Receipt

Send Recipient

POST {{Environment_URL}}/vendors/v1/charges/:id/proof-of-payment

After a transaction has been successfully paid, you can use this endpoint to send its payment receipt to the customer.

To use this endpoint, you must provide:

  • The transaction identifier (id) in the request path.

  • The customer’s mobile phone number (including country code) in the request body.

When invoked, this endpoint triggers the delivery of the receipt to the specified phone number. It does not return a response body; on success, it responds with HTTP status code 204 No Content, indicating that the receipt was sent successfully.

Body

Field
Type
Description
Required

phone

String

Mobile number with country code

true

Headers

Name
Value

Authorization

Bearer <token>

Path Params

Name
Type
Description
Value

id

string

Charge ID

ch_01hg0kbjxj1cfn5x6xvmsg2nqy

Request

{
    "phone": "82d4db8a3cbbd1ed800fae3b2d193f0fe74a3309",
    "nature": "SERVICES_AND_OTHERS"
}

Response