Installment plans
List installment banks and plans, pay with a selected plan, and see the standalone BNPL providers (valU, Octo, Souhoola, Contact, Mogo, Tru, Forsa)
To retrieve installment plans and pay with one:
Step 1: Get available banks
| Endpoint | Value |
|---|---|
| URL | https://test-api.kashier.io/merchant/installments/banks/plans?mid=yourMerchantID&amount=productPrice |
| Method | GET |
Whenever you are ready for production, use the following production API endpoint URL instead.
| Endpoint | Value |
|---|---|
| URL | https://api.kashier.io/merchant/installments/banks/plans?mid=yourMerchantID&amount=productPrice |
| Method | GET |
curl -X 'GET'
'https://test-api.kashier.io/merchant/installments/banks/plans?mid=MID-XXXXX-XXX&amount=500'Full parameter and response reference → Get available banks.
Query parameters
| Parameter | Required | Notes |
|---|---|---|
mid | Yes | Your merchant ID. |
amount | Yes | The product price, used to filter out plans whose minimum the order doesn't meet. |
clientType | No | Optional client type. Use POS for point-of-sale integrations. |
minimunInstallmentAmount is misspelled on the wire
This step returns each bank's minimum as minimunInstallmentAmount — the missing second
m is genuinely part of the wire key, not a typo in these docs. Step 2 returns the same
value under a different name, Minimum installment amount. Handle both spellings across
the two steps.
allowFawry
allowFawry may still appear in this response. Fawry is not currently supported; confirm with Kashier support before building against the flag.
BNPL availability flags
Alongside banks, the response carries boolean flags showing which BNPL providers are available for the merchant:
| Flag | Enabled when |
|---|---|
allowValu | valU is enabled for the merchant |
allowOcto | Octo is enabled for the merchant |
allowSouhoola | Souhoola is enabled for the merchant |
These BNPL providers use their own dedicated payment flow — they are not paid via the installments.planId card path described in Step 3 below.
Step 2: Get plans for a specific bank
| Endpoint | Value |
|---|---|
| URL | https://test-api.kashier.io/merchant/installments/plans?mid=yourMerchantID&amount=productPrice¤cy=EGP&fiId=banknSystemID |
| Method | GET |
Whenever you are ready for production, use the following production API endpoint URL instead.
| Endpoint | Value |
|---|---|
| URL | https://api.kashier.io/merchant/installments/plans?mid=yourMerchantID&amount=productPrice¤cy=EGP&fiId=banknSystemID |
| Method | GET |
curl -X 'GET'
'https://test-api.kashier.io/merchant/installments/plans?mid=MID-XXXXX-XXX&amount=10000¤cy=EGP&fiId=FI-XX'Full parameter and response reference → Get plans for specific bank.
Query parameters
| Parameter | Required | Notes |
|---|---|---|
mid | Yes | Your merchant ID. |
amount | Yes | The product price. |
currency | Yes | Must be EGP. Bank installments are EGP-only; any other value returns 400. |
fiId or cardBin | Exactly one | fiId is the Bank system ID from Step 1. cardBin is an accepted alternative: pass the customer's card BIN and Kashier resolves the bank for you. Send exactly one of them; sending both or neither returns 400. |
clientType | No | Optional client type. Use POS for point-of-sale integrations. |
The response renames the Step 1 minimum: what Step 1 calls minimunInstallmentAmount is
returned here as Minimum installment amount.
Step 3: Pay with a plan
Once you have a Merchant Plan ID (e.g. INSPLAN-XX) from Step 2, pay with it by adding installments.planId to a normal card payment request. This is the same POST /v3/orders request used for any card payment — the plan is validated before the card is charged.
| Endpoint | Value |
|---|---|
| URL | https://test-fep.kashier.io/v3/orders/ |
| Method | POST |
Whenever you are ready for production, use the following production API endpoint URL instead.
| Endpoint | Value |
|---|---|
| URL | https://fep.kashier.io/v3/orders/ |
| Method | POST |
curl -X 'POST' 'https://test-fep.kashier.io/v3/orders/' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Kashier-Hash: your_generated_hash' \
-d '{
"apiOperation": "PAY",
"installments": {
"planId": "INSPLAN-XX"
},
"paymentMethod": {
"type": "CARD",
"card": {
"number": "XXXXXXXXXXXX0001",
"expiry": {
"month": "05",
"year": "26"
},
"nameOnCard": "TEST",
"securityCode": "100"
}
},
"order": {
"reference": "PM-89451648984",
"amount": "10000",
"currency": "EGP",
"description": ""
},
"interactionSource": "ECOMMERCE",
"reconciliation": {
"webhookUrl": "https://your-call-back-url.com",
"merchantRedirect": "https://your-call-back-url.com",
"redirect": true
},
"customer": {
"reference": "24"
},
"merchantId": "MID-XXXXX-XXX"
}'Body parameters
| Parameter | Description |
|---|---|
installments.planId (string) | The Merchant Plan ID from Step 2 (e.g. INSPLAN-XX). Omit installments entirely for a regular (non-installment) card payment. |
Before you submit
Validate the card BIN against Supported BINs in your own UI before submitting, so the customer is not shown a plan their card cannot use.
Test mode
Test-mode plan data may differ from live. Verify your plans in live before launch.
Pay-time errors
| Code | Meaning | Fix |
|---|---|---|
PLAN_NOT_EXIST | The planId is not a valid plan for your account. | Re-read the plan list from Step 2 and send a Merchant Plan ID from the current response. |
PLAN_NOT_ACTIVE | The plan exists but is not active. | Pick another plan, or ask Kashier support to activate it for your account. |
INVALID_BIN_RANGE | The card BIN is outside the plan's supported ranges. | Ask the customer for a card from the bank that owns the plan, or offer a different plan. |
INVALID_MERCHANT_PLAN | The planId is not a valid plan for your account. | Use only plans returned for your own mid. |
Response
The normal card payment flow runs unchanged — including 3DS, capture, and the response shape. See Customized card form for the full response structure, and 3D Secure handling for the 3DS redirect flow.
You can find how much the customer will pay monthly for every plan in the Installment amount per month parameter of the Step 2 response.
BNPL installment providers
Beyond bank card installments (Steps 1–3 above), Kashier supports several standalone BNPL (buy-now-pay-later) providers. Each is its own paymentMethod.type, with its own dedicated payment flow — none of them are paid via the installments.planId card path.
| Provider | paymentMethod.type |
|---|---|
| valU | valu |
| Octo | octo |
| Souhoola | souhoola |
| Contact | contact |
| Mogo | mogo |
| Tru | tru |
| Forsa | forsa |
Availability
Of these, three are surfaced as availability flags on the Step 1 banks response — allowValu, allowOcto, and allowSouhoola.
Contact
Contact (paymentMethod.type: "contact") is a BNPL provider, not a cash or kiosk method. It has its own dedicated payment flow with tenure selection and OTP confirmation.