GET
/
payment-intents
/
{id}
/
payment-fees
[
  {
    "id": "lAe5HnFpvOjwdT9vSIgPA",
    "rate": 123,
    "rateType": "percent",
    "amount": 5,
    "currency": "XOF",
    "label": "<string>",
    "taxes": [
      "<string>"
    ]
  }
]

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

The response is of type object[].