Merchant information
Retrieve the configuration of a merchant: payment type, number of installments or deferral, B2B, buyer fees.
Authentication
Authentication
For security reasons, an access token is mandatory to use this endpoint (Authentication).
⚠️ Never call this endpoint directly from your front-end application, as doing so will expose your private credentials.
Endpoint
GET /api/merchants/<merchant_uid>/infoResponse fields
| Field | Description |
|---|---|
uid | Unique identifier of the merchant |
name | Name of the merchant |
is_b2b | (deprecated) true if the merchant sells to professionals (B2B) |
has_buyer_fees | true if fees are charged to the buyer |
language | Default language (e.g. fr_FR) |
payment_type | INSTALLMENT, DEFERRED or DOWN_PAYMENT |
installments_nb | Number of installments (installment payments only) |
delay_in_days | Deferral in days (deferred payments only) |
day_of_next_month | Day of the next month for the debit (deferred payments only) |
Fields without a value are omitted from the response.
Response examples
Installment payment, status 200
json
{
"uid": "mer_xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "My shop",
"is_b2b": false,
"has_buyer_fees": true,
"language": "fr_FR",
"payment_type": "INSTALLMENT",
"installments_nb": 4
}Deferred payment, status 200
json
{
"uid": "mer_xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Pro Equipment",
"is_b2b": true,
"has_buyer_fees": false,
"language": "fr_FR",
"payment_type": "DEFERRED",
"delay_in_days": 30
}Response codes
| Code | Description |
|---|---|
| 200 | The request was processed successfully. |
| 401 | Invalid or expired access token, or the merchant does not belong to your company. |
| 403 | The merchant is disabled. |
| 404 | The merchant does not exist. |