Cards
Initiate a card payment.
Initialization
To initialize the transaction, you need to pass information such as user, amount, transaction reference, etc. The snippet below outlines the parameters you can use when initializing a transaction.
amount
Amount to charge; should be in Kobo and cents if payment method is not binance pay. For binance pay, it should be in actual USD value. identifier of the user you wish to charge; required if you've passed the user for a charge previously.
integer
Yes
customer
user for whom the payment is being charged.
object
Yes
description
description of the payment transaction.
string
Yes
currency
the currency you wish to charge the user. NGN, USD
string
Yes
amount
The amount to charge; should be in Kobo and cents if the payment method is not Binance pay. For Binance pay, it should be in actual USD value. minimum: 100000
integer
Yes
direction
The direction of payment; defaults to incoming
string
Yes
payment_method
payment method object.
[ bank_account, card, wallet, crypto_address
]
object
No
settlement_target
defaults to business
.
string
No
metadata
Metadata for the transaction.
object
Yes
Sample request to initialize a card payment
Sample Response after initializing a card payment
201
Payment session created
400
Request was invalid
422
Request contained validation errors
Last updated