跳转至

回调消息

当汇款状态发生变化时,将会通过POST协议向您预设的回调URL发送消息。

{
    "statusCode": 200,
    "errorMsg": "",
    "idempotencyKey": "TestPixUSDTOBRL-20220822002",
    "targetName": "{{TARGET_PERSON_FULL_NAME}}",
    "targetDocument": "{{TARGET_PERSON_CPF}}",
    "targetPixKey": "{{TARGET_PIX_KEY}}",
    "targetPixKeyType": "{{TARGET_PIX_KEY_TYPE}}",
    "targetBankCode": "{{TARGET_BANK_CODE}}",
    "targetBankAgency": "{{TARGET_BANK_AGENCY}}",
    "targetBankAccountId": "{{TARGET_BANK_ACCOUNT_ID}}",
    "amount": "1.00",
    "amountInCents": 100,
    "currency": "USD",
    "paidAmount": 314,
    "paidCurrency": "BRL",
    "exchangeRate": 5.067,
    "paidTax": 192,
    "createTime": "{{PAYOUT_CREATE_TIME}}",
    "finalStatusTime": "{{PAYOUT_FINAL_STATUS_TIME}}",
    "transferStatus": "SETTLED",
    "transferStatusCode": 200,
    "transferErrorMsg": "",
    "subMerchantId": "UUID"
}

字段说明

参数 类型 描述
statusCode Integer 此次请求API状态代码,200代表API请求成功
errorMsg String 如果API请求失败,返回的错误信息
idempotencyKey String 幂等目的,交易的唯一标识ID
targetName String 目标账号的收款人全名
targetDocument String 目标账户持有人的CPF,11位数字
targetPixKey String 目标账号的Pix密钥
targetPixKeyType String 目标账号的Pix密钥类型
targetBankCode String 目标账号的银行代码
targetBankAgency String 目标账号的银行分支码
targetBankAccountId String 目标账号的账号ID
amount String 已弃用。汇款金额,注意: 1 = 1BRL。请使用amountInCents。
amountInCents Long 汇款金额。 注意: 100 = 1BRL/1USD
currency String 汇款货币代码,BRL、USD
paidAmount Long 当入参货币为BRL时返回null,转换货币代码后的支付金额
paidCurrency String 当入参货币为BRL时返回null,转换货币代码后的货币代码,BRL
exchangeRate Double 当入参货币为BRL时返回null,转换货币代码所使用的汇率
paidTax Long 当入参货币为BRL时返回null,转换货币代码的手续费
createTime String 汇款请求时间
finalStatusTime String 汇款操作完成时间. 完成包括下面状态: "SETTLED", "FAILED" 或者 "REJECTED"
transferStatus String 汇款状态,枚举值,"SETTLED", "FAILED" 或者 "REJECTED", 交易状态应以transferStatus为准
transferStatusCode Integer 此次交易的状态码, 交易异常码
transferErrorMsg String 此次交易失败原因
subMerchantId String 子商户ID
回到页面顶部