我正在 visa-developor-sandbox [Link]中测试 Visa Direct Payouts API(Send Payout) API ,我收到如下错误:
{"errorResponse":{"status":400,"reason":"inconsistentRequest","message":"This payout request is inconsistent with the previously processed payout transaction.","details":[]}}
谁能告诉我为什么会发生这种情况,在沙箱测试相应的 API 时如何获得成功响应,我的输入测试数据如下:
{
"recipientDetail": {
"lastName": "Smith",
"address": {
"country": "840",
"city": "SFO",
"postalCode": "94404",
"addressLine1": "address line 1",
"addressLine2": "address line 2",
"state": "765"
},
"contactEmail": "abc@visa.com",
"dateOfBirth": "1990-09-11",
"type": "I",
"payoutMethod": "B",
"firstName": "John",
"bank": {
"branchCode": "2",
"bankCode": "021001088",
"bankCodeType": "ABA",
"accountNumberType": "DEFAULT",
"accountName": "account name",
"countryCode": "840",
"accountType": "1",
"bankName": "Bank of America",
"accountNumber": "4957030420210512",
"BIC": "CTBAAU2S",
"currencyCode": "840"
},
"cityOfBirth": "Austin",
"identificationList": [
{
"idType": "D",
"idNumber": "123334",
"idIssueCountry": "840"
}
],
"countryOfBirth": "840",
"contactNumber": "123456789",
"additionalData": [
{
"name": "TAX_REF",
"value": "ASR"
}
]
},
"senderDetail": {
"address": {
"country": "840",
"city": "Mumbai",
"postalCode": "100",
"addressLine1": "address line 1",
"addressLine2": "address line 2",
"state": "Mahrashtra"
},
"contactEmail": "def@visa.com",
"beneficiaryRelationship": "business partner",
"dateOfBirth": "1990-09-11",
"sourceOfFunds": "02",
"type": "I",
"senderReferenceNumber": "4304630005267011",
"cityOfBirth": "Austin",
"identificationList": [
{
"idType": "D",
"idNumber": "123334",
"idIssueCountry": "840"
}
],
"countryOfBirth": "840",
"name": "John Smith",
"contactNumber": "120345678",
"additionalData": [
{
"name": "TAX_REF",
"value": "ASR"
}
],
"sourceOfIncome": "business"
},
"originatorDetail": {
"paymentFacilitator": {
"country": "840",
"name": "test",
"id": "123476876"
},
"bankId": "408999",
"originatorName": "Visa Inc. GER",
"address": {
"country": "840",
"postalCode": "12346",
"state": "TX",
"addressLine": "123 St."
},
"originatorBIC": "CTBAAU2S",
"merchantCategoryCode": "6012",
"bankBIC": "CTBAAU2S",
"originatorId": "77770"
},
"transactionDetail": {
"systemTraceAuditNumber": "451006",
"localTransactionDateTime": "` + localTransactionDateTime + `",
"businessApplicationId": "FD",
"transactionAmount": "200",
"transactionCurrencyCode": "840",
"retrievalReferenceNumber": "133122895499"
}
}
另外,您能否建议 Visa Direct Payouts API(Send Payout)API 的其他有效输入测试数据