money-bill-transferWithdrawal Payout

API for create a withdrawal transaction

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

Used for searching in the BO when you need to view transactions by individual user

accountName*

String

Bank Account Name

accountNo*

String

Bank Account Number

bankCode*

String

Bank Code

extendParams

Object

Used to add data that will be sent back via the callback

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"
}

NOTE

We recommend using the value from the code field to determine whether the transaction was successful.

code == 0 means that Wildpay has successfully received and recorded the transaction in the system.

code != 0 means that the transaction was not successful.

Last updated