Create payment link
POST
/api/merchant-portal/merchant-access/payment-link/create
Request
Header Params
Content-Type
string
required
Example:
multipart/form-data
Body Params multipart/form-data
request_time
string
required
merchant_id
string
required
merchant_auth
string
required
string
mandatory
The same value as merchant_id
string
mandatory
Title of the payment link. Max. Lenght 250.
string
mandatory
Payment link amount. Must be at least 100 KHR or 0.01 USD. Cannot be null or zero.
string
mandatory
Transaction currency code (Mandatory). Supported values:
KHR
or USD
.string
Description of the payment link. Optional. Max. Lenght 250
string
Maximum number of transactions allowed for this payment link (Optional). If left blank, there is no limit..
string
mandatory
Expiration date of the payment link. A null value means no expiry date.
string
mandatory
Once a payment is made on the payment link, the payment gateway will call this URL to send the payment details. This URL must be encrypted in Base64.
string
optional
Your payment link ID. We suggest using a unique ID. PayWay does not validate duplicates. This ID will be included in the callback when the payment is completed. Max length: 50.
string
optional
Payout instruction of the payment link. Total payout amount must equal to payment link amount.
image
file
optional
hash
string
required
request_time
, merchant_id
, and merchant_auth
with public_key
.