Get Fees

Understanding Get Fees response

The successful response for get fees endpoint is broken down this way:

  • data.charge_amount: This the total amount to be charged, total amount = amount + fee
  • data.fee: This is a cumulative of the merchantfee (if applicable) + ravefee
  • data.merchantfee: This is the merchant fee on the transaction, it is applicable when using a subdomain. Subdomains allow you white-label rave, and offer it as a customised service to your merchant, we allow you set a markup fee on it and earn transaction fees. In this scenario the merchant-fee would be the subdomain markup fee if applicable.
  • data.ravefee: This is the fee charged per transaction by rave.
Body Params
string
required

This is the amount of the product or service to charged from the customer

string
required

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

string
required

This is the specified currency to charge the card in.

string
Defaults to 2

This is an optional parameter to be used when the payment type is account payment. A value of 2 is to be passed to the endpoint.

string
Defaults to 543889

This can be used only when the user has entered first 6digits of their card number, it also helps determine international fees on the transaction if the card being used is an international card

Headers
string
required
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