KRW 支付请求
仅用于KRW的支付请求。
发起支付请求
该API用于创建支付请求。此API需要一个
key
参数,该参数包含由
&
字符分隔的参数组合,然后使用 encrypt_decrypt 算法加密。
请求正文
-
- Name
-
key
- Type
- string required
- Description
-
由参数和API密钥及API密钥加密生成的键。
curl --request POST \ --url https://staging.s88pay.net/api/{merchant_code}/v3/dopayment \ --header 'Content-Type: application/json' \ --data '{ "key": "<string>" }'
Processing request...
参数
-
- Name
-
merchant_code
- Type
- string required
- Description
- 由提供商提供
-
- Name
-
merchant_api_key
- Type
- string required
- Description
- 由提供商提供
-
- Name
-
transaction_code
- Type
- string required
- Description
- 由操作员生成。每笔交易必须唯一
-
- Name
-
transaction_timestamp
- Type
- integer required
- Description
-
由操作员生成。
该参数描述交易请求的时间范围。有关时间戳的更多详细信息,请访问 https://www.epochconverter.com/。
请注意,我们仅处理以下时间范围内的时间戳
min
: 当前时间前1小时max
: 当前时间后5分钟
-
- Name
-
transaction_amount
- Type
- double required
- Description
- 交易金额
-
- Name
-
payment_code
- Type
- string required
- Description
-
例如
P001
。请联系管理员获取您的支付代码
-
- Name
-
user_id
- Type
- string required
- Description
- 可以由您系统上的用户密钥字段填写。例如:USR98323923
-
- Name
-
currency_code
- Type
- string required
- Description
- 请参阅货币列表
-
- Name
-
deposit_name
- Type
- string required
- Description
- 存款名称(KRW必填)
返回
返回交易状态对象。如果发生错误,此调用将返回一个错误。
{ "status": "success", "step": 1, "message": "提交交易成功!请提交存款人姓名、银行代码和账号。", "transaction_code": "TEST-DP-1697797081", "amount": 10000, "bank_lists": [ "<任何>" ]}