GET
/
payment-intents
/
{id}
/
payment-fees

Headers

ApiKey
string
required

Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.

MerchantId
string
required

Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.

Environment
enum<string>
required

Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.

Available options:
live,
sandbox

Path Parameters

id
string
required

Identifier of the PaymentIntent on which to retrieve PaymentFees.

Query Parameters

country
string
required

Two-letter ISO country code. Represents the country where the provider selected by the customer is localized.

provider
string
required

The name of the provider selected by the customer, in lowercase. The list of supported providers can be found at /data/providers

paymentMethod
enum<string>
required

The method selected by the customer to make this Payment.

Available options:
mobile_money,
credit_card

Response

200 - application/json
id
string
required

Unique identifier of the applied Fee object.

rate
number
required

A rate corresponding to the amount (flat or percentage) applied by the fees.

rateType
enum<string>
required

Fees can either be a flat amount of the transaction amount or percentage of the transaction amount.

Available options:
percent,
flat
amount
number
required

Amount applied by this Fees. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge €1.00 or 100 to charge FCFA100, a zero-decimal currency).

currency
string
required

Three-letter ISO currency code.

label
string

An optional label giving information on the reason of this fees.

taxes
string[]

Taxes applied to this fee.