Home › Account & Wallet
Charge wallet — FarazSMS SMS web service
POST https://api.iranpayamak.com/ws/v1/account/wallet/charge
Purpose: Charge your wallet (creates a payable order).
Authentication
This endpoint requires the Api-Key header — get the key from the FarazSMS panel. The header name is case-sensitive and the key must never travel in a query string.
Request fields
amount(integer) — requiredredirectUrl(string) — optional
Notes for this endpoint
- Charges your account wallet. Usually creates an order/payment.
Example body
{
"amount": 100000,
"redirectUrl": "https://api.iranpayamak.com"
}
Responses
200— OK
Related endpoints in Account & Wallet
GET /ws/v1/account/balance— Account BalanceGET /ws/v1/account/profile— ProfilePOST /ws/v1/account/register— RegisterPOST /ws/v1/account/update— updateGET /ws/v1/lines/accessible— LinesPOST /ws/v1/orders/apply-discount— Apply Discount on OrderPOST /ws/v1/orders/cancel— Cancel an OrderPOST /ws/v1/orders/pay— Pay Created Order