Collect
Create a transaction
POST
/
transactions
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
description
string
requiredDescription of the transaction.
amount
integer
requiredAmount of the transaction.
currency
object
requiredCurrency information.
callback_url
string
URL to receive transaction updates.
metadata
object
Additional metadata related to the transaction.
customer_id
integer
Customer ID associated with the transaction.
fees
integer
Transaction fees.
Response
201 - application/json
id
integer
Transaction ID.
reference
string
Transaction reference.
amount
integer
Transaction amount.
description
string
Transaction description.
callback_url
string
Transaction callback URL.
status
string
Transaction status (e.g., 'pending', 'approved', 'canceled').
created_at
string
Date and time of transaction creation.
updated_at
string
Date and time of last transaction update.