Appearance
Vendor Info API
ดึงข้อมูล account ของ Vendor จาก P2W Topup เช่น ยอดเครดิต สถานะ
Auth required:
x-partner-id+x-signature— ดู Authentication
GET /info
ดึงข้อมูล Vendor ของตนเองจากระบบ P2W
Request
http
GET https://vendor.p2wtopup.com/api/v1/info
x-partner-id: {PARTNER_ID}
x-signature: {SIGNATURE}Response 200
json
{
"success": true,
"statusCode": 200,
"code": "OK",
"data": {
"username": "vendor_username",
"balance": 1000,
"displayName": "Display Name",
"status": "active"
},
"timestamp": "2026-03-16T10:00:00Z"
}