Create Pay In Request

You can use this endpoint to create a Pay In request.

Body Params
number
required

Requested amount of the transaction in the actual value in the provided currency.

string
required

ISO 4217 three-letter code of the transaction's currency.

string
required

Payment method for this transaction. List of supported methods can be found here.

string
required

Payment channel for this transaction. List of supported channels can be found here.

string

Customer's phone number. Required when paymentMethod is EWALLET_PUSH_NOTIF.

string
required

Merchant-provided identifier for this transaction.

string
required

Merchant-provided identifier of the Customer for this transaction.

string
required

Merchant-provided name of the Customer for this transaction.

string

Free-text field for any additional information.

uri
required

Your webhook URL to receive transaction notifications.

uri
required

URL where the end-customer is redirected to after the transaction is completed.

metadata
object

Metadata required for payment calls in THB currency. This object must contain specific bank information for processing the payment

Headers
string
required

Specifies the format of the request body (JSON).

string
required

API Key will be delivered to you by email

string
required

ISO 8601 date time format, should be in (UTC+0)

string
required

Refer to page Build Signature and Set Headers for instructions on how to build a signature

string
required

A unique key to prevent duplicate requests. Must be unique across all payin transactions for the merchant. Max 100 characters.

Responses

Callback
Language
URL
Request
Choose an example:
application/json