Wallet Payment
Create a payment using a selected wallet.
Request Parameters
| Name | Type | Description |
|---|---|---|
public_keyRequired | String | Merchant identifier. Example: `i000000001` |
wallet_idRequired | String | Selected wallet ID from wallet status response. |
amountRequired | Number | Payment amount. Example: `100`, `20.50` |
currencyRequired | String | Payment currency. Values: `AZN` |
order_idRequired | String | Unique order ID. Max 255 characters. |
descriptionOptional | String | Payment description. Max 1000 characters. |
languageRequired | String | Page display language. Values: `az`, `en`, `ru` |
Request Example
Send Request
Payload
{ "public_key": "i000000001", "wallet_id": "wallet_123", "amount": 30.75, "currency": "AZN", "order_id": "order-123", "description": "Wallet payment", "language": "az"}1DATA=$(echo -n '{"public_key":"i000000001","wallet_id":"wallet_123","amount":30.75,"currency":"AZN","order_id":"order-123","description":"Wallet payment","language":"az"}' | 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 wallet 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. |
Response
1{2 "status": "success",3 "redirect_url": "https://wallet.gateway.url/...",4 "transaction": "te_0000000001",5 "trace_id": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"6}