Payment API
Create Payment Invoice
Creates a new payment invoice for the authenticated user
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The amount of the payment
The cash tag for the payment
The URL to call back after payment processing
Whether the payment is white-labeled
The URL to return to after payment
Response
200 - application/json
The amount invoiced
The CashTag of the payment recipient
The date and time when the payment was created
The date and time when the payment expires
The ID of the payment invoice
Whether the payment is white-labeled
The required note associated with the payment
The amount paid
The URL where the user can make the payment
The ID of the web receipt for the payment
The URL where the user will be redirected after the payment
Available options:
PENDING
, UNDER_PAID
, PAID
, FAILED
, EXPIRED