EasyPaisa (Phoenix) app icon

EasyPaisa (Phoenix) API

巴基斯坦 手机钱包

Telenor EasyPaisa(巴基斯坦)—— OTP 登录、资料、余额、交易与转账。

概览

💡

基础 URL: https://api.openbankinggateway.com — 所有响应均采用统一的 {code, data} 结构。

会话流程: 完成登录端点即可获得网关 token,随后在每个需要鉴权的端点以 token= 传入。

透明性: 每个响应(无论成功或失败)都在 data.upstream 下附带原始的上游金融科技 JSON。

在下方任意端点填入参数并点击 Send request 即可调用在线网关,或复制 curl 示例在终端中运行。

Auth

POST/api/phoenix/login/request-otp

Trigger login OTP via /urm/v2/users/status

ParameterInValue
phone*query
curl -X POST 'https://api.openbankinggateway.com/api/phoenix/login/request-otp?phone=03001234567'
POST/api/phoenix/login/verify-otp

Verify OTP via /urm/v2/otp/check and issue session token

ParameterInValue
phone*query
otp*body
curl -X POST 'https://api.openbankinggateway.com/api/phoenix/login/verify-otp?phone=03001234567' \ -H 'Content-Type: application/json' \ -d '{"otp":"000000"}'

Account

GET/api/phoenix/profile

Personal information (token required)

ParameterInValue
token*query
curl -X GET 'https://api.openbankinggateway.com/api/phoenix/profile?token=<token>'
GET/api/phoenix/balance

Account balance (token required)

ParameterInValue
token*query
curl -X GET 'https://api.openbankinggateway.com/api/phoenix/balance?token=<token>'
GET/api/phoenix/transaction-history

Transaction history with pagination (token required)

ParameterInValue
token*query
pageNum*query
pageSize*query
accountNoquery
curl -X GET 'https://api.openbankinggateway.com/api/phoenix/transaction-history?token=<token>&pageNum=1&pageSize=20'

Transfer

POST/api/phoenix/send-money

EasyPaisa wallet transfer (token required)

ParameterInValue
token*query
amount*body
receiver*body
fromAccount*body
remarkbody
curl -X POST 'https://api.openbankinggateway.com/api/phoenix/send-money?token=<token>' \ -H 'Content-Type: application/json' \ -d '{"amount":"100","receiver":"03009876543","fromAccount":"<fromAccount>"}'