Pay in - Checkout mode

Description

Merchant can use Alchemy Pay's checkout page directly in this mode. Here is the sample image.

2624

Request URL

https://payment.alchemytech.cc/nh-gateway/card/cashier/gateway

Http method

  • POST
  • Content-Type: application/x-www-form-urlencoded

Http request

Element

Data Type

Required

Signed

Remarks

merchantNo

string

R

Y

merchant unique ID, once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials

merchantOrderNo

string

R

Y

merchant defined transaction ID, must be unique for each request.

timeStamp

string

R

Y

GMT, merchant need to input the local time.

orderAmount

string

R

Y

transaction amount,
unit in cents (for example 100 = $1)

currency

string

R

Y

USD, EUR, GBP, JPY

productDetail

string

R

Y

goods name, can't contain special characters

callbackUrl

string

R

Y

webhook URL

noticeUrl

string

R

N

edirect URL in case 3DS verification is triggered and payment succeed. for example: https://www.alchemypay.org

customParam

string

O

N

customized data with maximum 500 characters after redirect to noticeUrl, for example: https://www.alchemypay.org?customParam={customParam}

sign

string

R

N

signature with RsaUtil.sign method

version

string

R

N

1

merType

string

C

N

either 0 or 1, default value is 0.
with value=1, phone, address, city, country, state, postCode is optional, with value=0, phone, address, city, country,state, postCode is necessary.