POST
/
transactions

Authorizations

Authorization
string
headerrequired

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

Body

application/json
description
string
required

Description of the transaction.

amount
integer
required

Amount of the transaction.

currency
object
required

Currency 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.