Installment Request
Create an installment payment with a selected installment card and month plan. Use the Get Installments endpoint first to retrieve available options.
Request Parameters
| Name | Type | Description |
|---|---|---|
public_keyRequired | String | Merchant identifier. Example: `i000000001` |
amountRequired | Number | Payment amount. Example: `100`, `20.50` |
currencyRequired | String | Payment currency. Values: `AZN`, `USD`, `EUR`, `RUB` |
languageRequired | String | Page display language. Values: `az`, `en`, `ru` |
order_idRequired | String | Unique order ID. Max 250 characters. |
installment_card_idRequired | String | Installment card identifier from the [Get Installments](/installment/get-installment-request) response. |
installment_monthRequired | Number | Selected installment month from available options. Example: `3`, `6`, `12` |
descriptionOptional | String | Description. Max 1000 characters. |
success_redirect_urlOptional | String | Redirect URL on success. |
error_redirect_urlOptional | String | Redirect URL on failure. |
other_attrOptional | Array | Additional parameters. Max 1000 characters. |
Request Example
Send Request
Payload
{ "public_key": "i000000001", "amount": 600, "currency": "AZN", "language": "az", "order_id": "order-456", "installment_card_id": "1", "installment_month": 6}1DATA=$(echo -n '{"public_key":"i000000001","amount":600,"currency":"AZN","language":"az","order_id":"order-456","installment_card_id":"1","installment_month":6}' | base64)2SIGNATURE=$(echo -n "$PRIVATE_KEY$DATA$PRIVATE_KEY" | openssl dgst -sha1 -binary | base64)3
4curl -X POST *** \5-H "Content-Type: application/x-www-form-urlencoded" \6-d "data=$DATA&signature=$SIGNATURE"Response Parameters
| Name | Type | Description |
|---|---|---|
statusRequired | String | Operation result: `success` or `error` |
redirect_urlOptional | String | URL to redirect the customer to the bank payment page. Present on success. |
transactionOptional | String | Epoint transaction identifier. Present on success. |
messageOptional | String | Error description. Present on failure. |
trace_idRequired | String | Unique request identifier for debugging. Provide this to Epoint support for issue investigation. |
Success
Success Response
1{2 "status": "success",3 "redirect_url": "***",4 "transaction": "te_0000000001",5 "trace_id": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"6}