Bank transfer method for Morocco. The method uses an account number (5–24 digits).
Payin request
{
"amount": 100,
"currency": "MAD",
"invoiceId": "{{$randomInt}}demo123",
"clientId": "demo client 12345",
"lang": "EN",
"successUrl": "https://example.com/",
"failUrl": "https://example.com/",
"backUrl": "https://example.com/",
"type": "banktransfermad"
}
Payout request
{
"amount": 4,
"currencyTo": "MAD",
"clientId": "TestQA1",
"recipient": {
"account_owner": "AIBEK",
"account_number": "1234567890123456",
"account_bank_id": "f28cfabb-c312-4d54-8073-c109e6ee9ee8",
"type": "custom"
},
"type": "banktransfermad"
}