Charge with Token

This endpoint allows you charge cards using a token .

Body Params
string
required

This is a unique key generated for each button created on Rave’s dashboard. It starts with a prefix FLWSECK and ends with suffix X.

string
required

This is the embedtoken property returned from the call to verify the status of the transaction e.g. "card_tokens": [ { "embedtoken": "flw-t1nf-4877921998c0d784bbaf3949d23647a5-m03k", "shortcode": "6a50e", "expiry": "9999999999999"} ], "life_time_token": "flw-t1nf-4877921998c0d784bbaf3949d23647a5-m03k"

string
required

This is the email address of the customer. Note: This has to be the exact email address passed during the initial charge.

string
required
Defaults to NGN

This is the specified currency to charge the card in.

string
Defaults to NG
string
required

This is the amount to be charged

string
required
Defaults to http://example.com/confirm

This is a url you provide, we redirect to it after the customer completes payment.

string

This is the first name of the card holder or the customer.

string

This is the last name of the card holder or the customer.

string

IP - Internet Protocol. This represents the IP address of where the transaction is being carried out.

string

This is a custom description added by the merchant.

string
required

This is the unique reference, unique to the particular transaction being carried out. It is generated by the merchant for every transaction

string

passed as "meta": [{"metaname": "flightID", "metavalue": "123949494DC"}] . These are extra set of parameters that can be passed to your pay button.

string

This is the fingerpringt for the device being used. It can be generated using a library on whatever platform is being used.

string

Pass the Payment plan ID to initiate a recurring payment.

subaccounts
array

This is an array of objects containing the subaccount IDs to split the payment into.

subaccounts
Headers
string
Defaults to application/json
Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json