OnlinePay CheckOut
POST
https://pay.onlinepay.ai/cashier/checkStandPay
Request
Body Params application/json
merNo
integer
required
merOrderNo
string
required
currencyCode
string
required
sourceAmount
string
required
returnUrl
string
required
<= 512 characters
notifyUrl
string
optional
<= 512 characters
sign
string
required
billingFirstName
string
required
<= 50 characters
billingLastName
string
required
<= 50 characters
billingAddress1
string
required
<= 128 characters
billingAddress2
string
optional
<= 128 characters
billingCity
string
required
<= 100 characters
billingState
string
required
<= 100 characters
billingCountry
string
required
<= 2 characters
billingZipCode
string
required
<= 20 characters
billingPhone
string
required
<= 20 characters
billingEmail
string
required
<= 100 characters
shippingFirstName
string
optional
<= 50 characters
shippingLastName
string
optional
<= 50 characters
shippingAddress1
string
optional
<= 128 characters
shippingAddress2
string
optional
<= 128 characters
shippingCity
string
optional
<= 100 characters
shippingState
string
optional
<= 100 characters
shippingCountry
string
optional
<= 2 characters
shippingZipCode
string
optional
<= 20 characters
shippingPhone
string
optional
<= 20 characters
shippingEmail
string
optional
<= 100 characters
userAgent
string
required
<= 128 characters
ipAddress
string
required
<= 64 characters
productInfoList
array [object {4}]
required
sku
string
required
<= 64 characters
productName
string
required
<= 128 characters
price
string
required
<= 16 characters
quantity
string
required
<= 16 characters
version
string
required
Example
{
"merNo": 0,
"merOrderNo": "string",
"currencyCode": "string",
"sourceAmount": "string",
"returnUrl": "string",
"notifyUrl": "string",
"sign": "string",
"billingFirstName": "string",
"billingLastName": "string",
"billingAddress1": "string",
"billingAddress2": "string",
"billingCity": "string",
"billingState": "string",
"billingCountry": "st",
"billingZipCode": "string",
"billingPhone": "string",
"billingEmail": "string",
"shippingFirstName": "string",
"shippingLastName": "string",
"shippingAddress1": "string",
"shippingAddress2": "string",
"shippingCity": "string",
"shippingState": "string",
"shippingCountry": "st",
"shippingZipCode": "string",
"shippingPhone": "string",
"shippingEmail": "string",
"userAgent": "string",
"ipAddress": "string",
"productInfoList": [
{
"sku": "string",
"productName": "string",
"price": "string",
"quantity": "string"
}
],
"version": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://pay.onlinepay.ai/cashier/checkStandPay' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
code
string
required
message
string
required
data
object
optional
payUrl
string
required
merOrderNo
string
required
Example
{
"code": "00000",
"message": "SUCCESS",
"data": {
"merOrderNo": "222222",
"payUrl": "http://abc.com/notify"
}
}
Modified at 2023-08-04 10:04:45