KRW Payment Request

Make payment request for KRW Only.

Make Payment Request

This API is used to create payment requests. This API requires 1 key parameter, which contains a combination of parameters separated by the & character and then encrypted using the encrypt_decrypt algorithm.

Request Body

  • Name
    key
    Type
    string
    required
    Description

    Key generated from parameters with API key and API secret encryption.

cURL
curl --request POST \
--url https://staging.s88pay.net/api/{merchant_code}/v3/dopayment \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>"
}'
Processing request...

Parameters

  • Name
    merchant_code
    Type
    string
    required
    Description
    Provide by Provider
  • Name
    merchant_api_key
    Type
    string
    required
    Description
    Provide by Provider
  • Name
    transaction_code
    Type
    string
    required
    Description
    Generated by the operator. Must be unique for each transaction
  • Name
    transaction_timestamp
    Type
    integer
    required
    Description
    Generate by the operator.

    This parameter describes the transaction request TimeRanges. The more detailed information regardings timestamps, please visit https://www.epochconverter.com/.

    Please note that we only process the timestamp on these limit

    min: 1 hour before now

    max: 5 minutes after now

  • Name
    transaction_amount
    Type
    double
    required
    Description
    The amount of of the transaction
  • Name
    payment_code
    Type
    string
    required
    Description
    Example P001. Please contact the administrator to get your payment code
  • Name
    user_id
    Type
    string
    required
    Description
    Can be filled by the user key field on your system. For example : USR98323923
  • Name
    currency_code
    Type
    string
    required
    Description
    Please refer to currency list
  • Name
    bank_code
    Type
    double
    required
    Description
    Required just on BDT, VND, THB, IDR, MYR, and PHP online bank payment.
  • Name
    deposit_name
    Type
    string
    required
    Description
    Deposit name (mandatory for KRW)

Parameters Object
{
"merchant_code": "",
"merchant_api_key": "",
"transaction_code": "",
"transaction_timestamp": 0,
"transaction_amount": 0,
"payment_code": "",
"user_id": "",
"currency_code": "",
"bank_code": "",
"deposit_name": ""
}

These parameters must be encrypted before being sent through the key body.


Return

Returns a transaction status object. This call returns an error if an error occurs.

Response
{
"status": "success",
"step": 1,
"message": "Submit Transaction Success! Please submit Depositor Name, Bank Code and Account Number.",
"transaction_code": "TEST-DP-1697797081",
"amount": 10000,
"bank_lists": [
"<any>"
]
}