Withdraw Payout

API สำหรับถอนเงินแบบ Payout

Withdraw Payout Order

POST https://example.com/payment/withdraw/payout

Headers

Name
Type
Description

x-wildpay-partnerid*

String

partner id

x-wildpay-signature*

String

signature

Content-Type*

application/json

-

Request Body

Name
Type
Description

refId*

String

reference/transaction id

amount*

Number

จำนวนเงิน

userId*

String

ใช้สำหรับค้นหาใน BO กรณีต้องการดูรายการแบบแยก user

accountName*

String

ชื่อบัญชีธนาคาร

accountNo*

String

เลขบัญชีธนาคาร

bankCode*

String

รหัสธนาคาร

extendParams

Object

สำหรับเพิ่มข้อมูลเอาไว้ส่งกลับไปยัง Webhook

timestamp*

Date

ISO Date (UTC+0)

Example Request

{
    "refId": "REF_ID",
    "amount": 100,
    "userId": "USER_ID",
    "accountName": "wildpay",
    "accountNo": "1234567890",
    "bankCode": "KBANK",
    "extendParams": {
        "username": "wildpay",
    },
    "timestamp": "2023-02-05T16:34:57.956Z"
}

หมายเหตุ

ทางเราแนะนำให้ใช้ค่าจาก code ในการตรวจสอบว่าทำรายการสำเร็จไหมแทนนะครับ

code == 0 หมายถึง ทาง wildpay ได้นำรายการเข้าระบบแล้ว

code != 0 หมายถึง ทำรายการไม่สำเร็จ

Last updated