Skip to main content
API documentation

4 endpoints

Wallet

The balance of your payment account, its RIB in the merchant's name, the downloadable certificate, and how to fund it.

Endpoint names and descriptions come from the OpenAPI contract, in English — they cannot drift from the API.

In plain English

Your ChariPay payment account: check the balance, get your RIB, fund it.

When to use it

To display a balance in your back-office, to give a RIB to a payer, or to fund the account before an outgoing operation.

How to integrate it

  1. 1Read the available balance before any operation that sends money out.
  2. 2Fetch the RIB, or its PDF certificate, when a third party needs to transfer funds to you.
  3. 3Fund the wallet when the position does not cover what you want to commit.
POST201

Fund the merchant wallet

Creates a local hosted card-payment link. Card submission funds the shared sandbox eSIM or the merchant's real production eSIM through the canonical checkout flow. Ledger-only sandbox creates and finalizes a canonical cash-in through the durable outbox.

Schema · WalletCashinRequest

FieldTypeInRequiredDescription
Idempotency-KeystringheaderRequiredRequired retry-safe idempotency key.
amountnumberbodyRequiredAmount to fund in MAD.
GET200

Download wallet RIB (PDF)

Returns the wallet's bank details rendered as a downloadable PDF document.

No parameters.

GET

Retrieve wallet account (RIB)

Returns the copyable bank details (RIB/IBAN/BIC, holder, bank) and current balances.

No parameters.

GET

Retrieve wallet balance

Returns the live wallet balance in MAD for the key's environment.

No parameters.

Talk to an integrator

A question about integration?

Our technical team supports integrators from the first sandbox call through to go-live.