我有一个应用程序,我想添加类似亚马逊支付处理的支付处理到其中的子商家获得客户支付的服务费被扣除,我可以在https://developer.visa.com/capabilities/cybersource/reference#cybersource__cybs_payments_v2__v2__process_a_payment中看到以下请求正文,但在请求正文中没有指定服务费的字段:
{
"clientReferenceInformation": {
"code": "TC588171_3"
},
"processingInformation": {
"commerceIndicator": "internet"
},
"aggregatorInformation": {
"subMerchant": {
"cardAcceptorID": "1234567890",
"country": "US",
"phoneNumber": "650-432-0000",
"address1": "900 Metro Center",
"postalCode": "94404-2775",
"locality": "Foster City",
"name": "Visa Inc",
"administrativeArea": "CA",
"region": "PEN",
"email": "test@cybs.com"
},
"name": "V-Internatio",
"aggregatorID": "123456789"
},
"orderInformation": {
"billTo": {
"country": "US",
"lastName": "VDP",
"address2": "Address 2",
"address1": "201 S. Division St.",
"postalCode": "48104-2201",
"locality": "Ann Arbor",
"administrativeArea": "MI",
"firstName": "RTS",
"phoneNumber": "999999999",
"district": "MI",
"buildingNumber": "123",
"company": "Visa",
"email": "test@cybs.com"
},
"amountDetails": {
"totalAmount": "102.21",
"currency": "USD"
}
},
"paymentInformation": {
"card": {
"expirationYear": "2031",
"number": "5555555555554444",
"securityCode": "123",
"expirationMonth": "12",
"type": "002"
}
}
}有没有办法或变通办法扣除服务费?
发布于 2019-04-23 00:30:21
服务费计入orderInformation块。如下所示:
"orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "USD", "serviceFeeAmount": "3.00" },
使用服务费有几个前提条件。其中之一必须使用First Data作为处理器。有关更多详细信息,请查看此documentation。
https://stackoverflow.com/questions/55762333
复制相似问题