Place Order

POST /api/v1/placeOrder

Endpoint use to Place an Order.

Please use environment variable Payment.

To test with VND please use this QR String:

qrString: "00020101021138560010A0000007270126000697040701128888123456780208QRIBFTTA53037045802VN63042249"

To test with PHP please use this QR String:

qrString: "00020101021127590012com.p2pqrpay0111UBPHPHMMXXX02089996440304121096459500755204601653036085802PH5925Sophia Marie Chavez Dever6009SAN PEDRO63043708"

Body Params:

Request

Param
Type
Required
Explain

qrString

string

Yes

QR String

amount

number

Yes

Amount in Fiat

fiatCurrency

string

Yes

Fiat Currency

cryptoCurrency

string

Yes

Crypto Currency

fromAddress

string

Yes

From Wallet Address

chain

string

Yes

Chain Name

Response

Param
Type
Required
Explain

orderId

string

Yes

Order ID

status

string

Yes

Status of Order

fiatAmount

number

Yes

Fiat Amount

fiatCurrency

string

Yes

Fiat Currency

cryptoAmount

number

Yes

Crypto Amount

cryptoCurrency

string

Yes

Crypto Currency

exchangeRate

number

Yes

Exchange Rate (1 USC = ? VND)

qrInfo

QRInfo

Yes

QR Information

cryptoTransferInfo

object

Yes

Crypto Transfer Information

timestamp

string

Yes

Time Stamp

QRInfo (type):

Param
Type
Required
Explain

encodedString

string

Yes

QR String

providerInfo

object

No

QR Provider Information

bankInfo

object

No

Bank Information

amount

number

No

Amount that defined in the QR

purpose

string

No

Purpose of the transfer

additionalData

string

No

Additional Data

cryptoTransferInfo:

Param
Type
Required
Explain

encodedString

string

Yes

QR String

providerInfo

object

No

QR Provider Information

bankInfo

object

No

Bank Information

amount

number

No

Amount that defined in the QR

purpose

string

No

Purpose of the transfer

additionalData

string

No

Additional Data

Last updated