Wallet
How to use Wallet to submit a payin in Bahrain.
Benefit is an e-wallet payment method in Bahrain that supports BHD. Payments are settled in real time and refunds are not supported. There is no fixed minimum or maximum transaction amount, and the actual payment limit depends on the user's wallet limit.
Payin by Wallet
POST https://gateway-test.pagsmile.com/trade/create
This endpoint allows you to submit a payin by Wallet in Bahrain.
Headers
Content-Type*
string
application/json; charset=UTF-8
Authorization*
string
Basic authentication using the Base64-encoded value of app_id:security_key.
Request Body
app_id*
string
App ID assigned to the merchant application. Maximum length: 32 characters.
out_trade_no*
string
Unique merchant order number. Maximum length: 64 characters.
order_currency*
string
Fixed value: BHD.
method*
string
Fixed value: Wallet.
channel*
string
Wallet provider. Fixed value: Benefit (BenefitPay wallet).
order_amount*
string
Payment amount in BHD. No fixed min/max limit (subject to wallet limit).
subject*
string
Payment reason or item title. Maximum length: 128 characters.
trade_type*
string
Fixed value: Web.
content*
string
Payment reason details or item details. Maximum length: 255 characters.
timestamp*
string
Request time in yyyy-MM-dd HH:mm:ss format. Maximum length: 19 characters.
notify_url*
string
URL to which Pagsmile sends the asynchronous payment result notification.
buyer_id*
string
Merchant-defined identifier of the payer.
timeout_express
string
Order expiration period (m for minutes, h for hours, d for days, c for end of current day; default 90m, max 15d, e.g. 21500m).
Request Sample
Response
Last updated