For the complete documentation index, see llms.txt. This page is also available as Markdown.

Payment Request API

API Spec

Request to create a payment from the Business Client to the Nodex Pay

POST https://app.nodexpay.com/api/v1/payment/receive

Request Body

Name
Type
Description

identification_token*

string

"Authentication Token" can be obtained from the Business Client Management screen

order_code*

string

The value set by the business client to uniquely identify the payment.

Limit to 255 single-byte characters.

verify_token*

string

The value obtained by hashing the string 'order_code::amount::Hash Token' with SHA256 if amount is not null.

In case amount is null, hashing the string 'order_code::::Hash Token' with SHA256.

"Hash Token" can be obtained from the Business Client Management screen

amount

number, float

The amount to be charged by your deposit currency. It is Zero or more.

If a currency is specified in amount_type field, the amount in that currency is converted to the amount in the business client receipt token to generate the settlement data.

If amount_type is not specified, this value is set as the amount of the business client receipt token.

If the payer determines the amount to be paid, this field can be null. So this field is optional.

When specifying this field, values from 0.000001 to 100000000 can be specified.

color_theme

string

'dark' or 'light'

amount_type

string

"USD", "JPY", "EUR", "AED", "SGD", "HKD", "CAD", "IDR", "PHP", "INR", "KRW"

If a currency is specified in this field, the amount field value in this currency is converted to the amount in the business client receipt token to generate the settlement data.

If this field value is not specified, the amount field value is set as the amount of the business client receipt token.

uimode

string

'switchable'

Set in case that you implement Window widget.

ext_description

string

Sets the description of ext_reserved.

Limit to 100 characters.

deadline

int

You can specify the expiration date of the payment.

To specify an arbitrary expiration date, set this parameter to a value in unixtime format.

If this parameter is not specified, the system automatically sets the default value.

The default value is set to the date and time one hour after the API request.

description

string

Set in case you want to show a custom message in payment page. Limit to 100 characters.

Returning Payment process URL on nodexpay.com The payer is redirected to this URL to make the payment.

{
    "url": "https://app.nodexpay.com/payment/PAYMENT_TOKEN_ISSUED_BY_NODEX",
    "token": "PAYMENT_TOKEN_ISSUED_BY_NODEX",
    "ext_reserved": "",
    "ext_description": ""
}

In case you input ext_reserved and ext_description.

{
    "url": "https://app.nodexpay.com/payment/PAYMENT_TOKEN_ISSUED_BY_NODEX",
    "token": "PAYMENT_TOKEN_ISSUED_BY_NODEX",
    "ext_reserved": "0x00000000000000000............",
    "ext_description": "This value you input as ext_description"
}

Sample Codes

When the business client sets the settlement amount

When the payer determines the settlement amount

Last updated