Skip to content

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>/info

Response fields ​

FieldDescription
uidUnique identifier of the merchant
nameName of the merchant
is_b2b(deprecated) true if the merchant sells to professionals (B2B)
has_buyer_feestrue if fees are charged to the buyer
languageDefault language (e.g. fr_FR)
payment_typeINSTALLMENT, DEFERRED or DOWN_PAYMENT
installments_nbNumber of installments (installment payments only)
delay_in_daysDeferral in days (deferred payments only)
day_of_next_monthDay 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 ​

CodeDescription
200The request was processed successfully.
401Invalid or expired access token, or the merchant does not belong to your company.
403The merchant is disabled.
404The merchant does not exist.