转账

发起转账

Endpoint

Sandbox

POST https://preapi.futurepay-develop.com/api/v1/transfer/apply

Production

POST https://api.futurepay.global/api/v1/transfer/apply

Request Parameters

ParameterRequiredTypeDescription
payeeIdMlong收款人商户号
merchantReferenceMstring商户请求流水号
currencyMstring转账币种
amountMBigDecimal金额
paymentPurposeCodeMstring转账目的编码
narrationOstring附言

Request Example

{
  "payeeId": "1985189713480429568",
  "currency": "USD",
  "amount": "100",
  "paymentPurposeCode": "01",
  "paymentReference": "",
  "merchantReference": "asdzxczzxczxcxzxcc"
}

Response

FieldTypeDescription
merchantReferenceString商户请求流水号
pspReferenceStringFuturePay平台流水号
payAmountBigDecimal扣款金额
payeeAmountBigDecimal到账金额
currencyString币种
feeBigDecimal手续费
payeeIdString收款人商户号
resultCodeString订单状态,交易成功(SUCCESS)

Response Example

{
    "code": "0",
    "msg": "succeeded",
    "serverTime": 1773369598677,
    "data": {
        "merchantReference": "asdzxczzxczxcxzxcc",
        "pspReference": "TP800902342475801",
        "resultCode": "SUCCESS",
        "payAmount": 100.00,
        "payeeAmount": 100.00,
        "fee": 0.00,
        "currency": "USD",
        "payeeId": "1985189713480429568"
    },
    "success": true
}

转账查询

Endpoint

Sandbox

POST https://preapi.futurepay-develop.com/api/v1/transfer/query-detail

Production

POST https://api.futurepay.global/api/v1/transfer/query-detail

Request Parameters

ParameterRequiredTypeDescription
merchantReferenceMString商户请求流水号

Request Example

{
  "merchantReference": "asdzxczzxczxcxzxcc"
}

Response

FieldTypeDescription
merchantReferenceString商户请求流水号
pspReferenceStringFuturePay平台流水号
payAmountBigDecimal扣款金额
payeeAmountBigDecimal到账金额
currencyString币种
feeBigDecimal手续费
payeeIdString收款人商户号
resultCodeString订单状态,交易成功(SUCCESS)

Response Example

{
    "code": "0",
    "msg": "succeeded",
    "serverTime": 1773370078006,
    "data": {
        "merchantReference": "asdzxczzxczxcxzxcc",
        "pspReference": "TP800902342475801",
        "resultCode": "SUCCESS",
        "payAmount": 100.000000,
        "payeeAmount": 100.000000,
        "fee": 0.000000,
        "currency": "USD",
        "payeeId": "1985189713480429568"
    },
    "success": true
}