Download OpenAPI specification:
Visa & Mastercard支付服务商 & Global Collection Account
Your access token authorizes you to use the payment REST api server Please keep the key information safe and secure
| appId required | string Merchant client id |
| secret required | string Merchant client secret |
{- "appId": "086666075137001",
- "secret": "184E52CF5365D2D7EE8EDA************"
}Checkout session
| amount required | string eg 100.99 |
object (Billing) Billing | |
| captureMethod | string auto、manual |
| currency required | string ISO 4217 code eg USD |
| description | string Description [1..25] characters |
| expiryTime | string Expire time [30-120]minutes |
| fraudMode | string Fraud Mode |
| frontUrl | string Redirect url [3..128] characters |
| linkMode | string Cashier mode - please contact the operations personnel |
object metadata | |
| notificationUrl | string Notification Url eg https://api.xxx.com/notify |
| orderNo required | string Order no [5..64] characters |
| paymentMethodType | string Payment Method eg card |
Array of objects (ProductInfo) Product information | |
object (Shipping) Shipping | |
| threeDsMode | string no、auto、standard |
{- "amount": "100.99",
- "billing": {
- "address": {
- "city": "Los Angeles",
- "country": "US",
- "line1": "123 Main Street",
- "postcode": "90001",
- "state": "California"
}, - "birthday": "2022-08-01",
- "customerInitiatedReason": "UNSCHEDULED",
- "document": "diaodiaofly@gmail.com",
- "email": "diaodiaofly@gmail.com",
- "phone": {
- "countryCode": "852",
- "number": "8520083"
}, - "storedcredentials": "none/store,default is none"
}, - "captureMethod": "auto",
- "currency": "USD",
- "description": "string",
- "expiryTime": "60",
- "fraudMode": "N",
- "linkMode": "session",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "notificationUrl": "string",
- "orderNo": "20220828000002",
- "paymentMethodType": "card",
- "productInfo": [
- {
- "price": "5.55",
- "productName": "shirt",
- "quantity": "1",
- "sku": "00000000000001",
}
], - "shipping": {
- "address": {
- "city": "Los Angeles",
- "country": "US",
- "line1": "123 Main Street",
- "postcode": "90001",
- "state": "California"
}, - "carrier": "Fedex",
- "email": "diaodiaofly@gmail.com",
- "firstName": "zhong",
- "lastName": "yang",
- "phone": {
- "countryCode": "852",
- "number": "8520083"
}, - "trackingNo": "202208290000001"
}, - "threeDsMode": "no、auto、standard"
}申请换汇
| description required | string [ 1 .. 64 ] characters Description |
| obo required | string [ 5 .. 20 ] characters Merchant number |
| orderNo required | string [ 0 .. 32 ] characters ^[a-zA-Z0-9_-]+$ Partner order number |
| quoteId required | string [ 0 .. 64 ] characters Quote ID |
{- "description": "附言信息",
- "obo": "00001",
- "orderNo": "202608240002",
- "quoteId": "0c0b344bc1d020ffc40b20e71d980100"
}换汇历史
| buyAccount | string [ 0 .. 32 ] characters [ 0 .. 32 ] Buy global account |
| createdAtEnd required | string [ 0 .. 19 ] characters [ 0 .. 19 ] ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$ Create end time |
| createdAtStart required | string [ 0 .. 19 ] characters [ 0 .. 19 ] ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$ Create start time |
| currencyPair | string = 7 characters [ 7 .. 7 ] 货币对 |
| obo | string [ 5 .. 20 ] characters [ 5 .. 20 ] obo |
| pageNo required | string [ 1 .. 99999999 ] 当前页码,最小为1 |
| pageSize required | string [ 10 .. 100 ] 分页条数,最小10条,最大100条 |
| quoteId | string [ 0 .. 64 ] characters [ 0 .. 64 ] Quote ID |
| sellAccount | string [ 0 .. 32 ] characters [ 0 .. 32 ] Sell global account |
| tradeNo | string [ 0 .. 32 ] characters [ 0 .. 32 ] Platform trade number |
| tradeStatus | string Trade status |
换汇询价
| obo required | string [ 5 .. 20 ] characters Merchant number |
required | object (PartnerExchangeQuoteTradeInfo) Exchange quote trade info |
{- "obo": "00001",
- "tradeInfo": {
- "amount": "50.00",
- "buyAccount": "00038996",
- "buyCurrency": "CNH",
- "sellAccount": "00038995",
- "sellCurrency": "USD",
- "side": "sell",
- "tenor": "SPOT"
}
}Quick account opening,beneficiary management,payment,webhook,and balance inquiry / 快速开户、受益人管理、付款、webhook以及余额查询等
日终余额
| bookingDate required | string = 10 characters [ 10 .. 10 ] ^\d{4}-\d{2}-\d{2}$ Booking date |
| currency | string Currency |
| obo | string [ 5 .. 20 ] characters [ 5 .. 20 ] Merchant number |
| pageNo required | string [ 1 .. 99999999 ] 当前页码,最小为1 |
| pageSize required | string [ 10 .. 100 ] 分页条数,最小10条,最大100条 |
创建全球账户
| accountPurpose required | string [ 0 .. 2 ] characters Account Purpose |
| bank required | string [ 0 .. 50 ] characters bankingcircle |
| country | string = 2 characters Country Code |
| currencies required | Array of strings Currencies |
| defaultCurrency | string Enums: GBP,上送的值必须是集合 currencies 中的一个 |
| nickName required | string [ 0 .. 50 ] characters Nick Name |
| obo required | string [ 5 .. 20 ] characters Merchant number |
| requestId required | string [ 0 .. 64 ] characters Request ID |
{- "accountPurpose": "1",
- "bank": "ifast/bankingcircle",
- "country": "GB",
- "currencies": "[\"GBP\",\"HKD\"]",
- "defaultCurrency": "GBP",
- "nickName": "CC",
- "obo": "00001",
- "requestId": "b4e9c9fc7a4545e493239c65d8f6b32e"
}新增收款人
required | object (PartnerBankAccountInfo) Structured bank account information |
required | object (PartnerBeneficiaryInfo) Structured beneficiary information |
| obo required | string [ 1 .. 20 ] characters Merchant number |
{- "bankAccountInfo": {
- "accountName": "Guo Zhi VATEST02-FDMC",
- "accountNumber": "00039175",
- "bankAddress": "Britain",
- "bankCode": "string",
- "bankName": "IFAST GLOBAL BANK LIMITED",
- "country": "GB",
- "currency": "GBP",
- "iban": "GB11EZYR04363000039175",
- "intermediaryBank": {
- "swiftCode": "MIDLGB22XXX"
}, - "paymentCode": "SWIFT",
- "sortCode": "043630",
- "swiftCode": "EZYRGB2L"
}, - "beneficiaryInfo": {
- "accountType": "enterprise",
- "address": "350 5th Avenue",
- "city": "New York",
- "companyName": "ACME TRADING LIMITED",
- "email": "finance@acme.example",
- "firstName": "John",
- "lastName": "Smith",
- "nickName": "zzy02-SWIFT",
- "phone": "+12125550100",
- "postcode": "10118",
- "registerNumber": "REG202400088",
- "state": "NY"
}, - "obo": "00001"
}删除收款人
| beneficiaryId required | string [ 1 .. 50 ] characters Beneficiary ID |
| obo required | string [ 5 .. 20 ] characters Merchant number |
{- "beneficiaryId": "10001",
- "obo": "00001"
}收款人列表
| accountName | string [ 0 .. 150 ] characters [ 0 .. 150 ] Account name |
| accountNumber | string [ 0 .. 100 ] characters [ 0 .. 100 ] Bank account number |
| companyName | string [ 0 .. 200 ] characters [ 0 .. 200 ] Company name |
| currency | string [ 0 .. 3 ] characters [ 0 .. 3 ] Currency |
| nickName | string [ 0 .. 100 ] characters [ 0 .. 100 ] Nickname |
| obo required | string [ 5 .. 20 ] characters [ 5 .. 20 ] Merchant number |
| pageNo required | string [ 1 .. 99999999 ] 当前页码,最小为1 |
| pageSize required | string [ 10 .. 100 ] 分页条数,最小10条,最大100条 |
| reviewStatus | string pending_approval、approved、rejected |
修改收款人
required | object (PartnerBankAccountInfo) Structured bank account information |
| beneficiaryId required | string [ 1 .. 50 ] characters Beneficiary ID (required). Primary key of an existing beneficiary to update. Numeric string |
required | object (PartnerBeneficiaryInfo) Structured beneficiary information |
| obo required | string [ 5 .. 20 ] characters Merchant number |
{- "bankAccountInfo": {
- "accountName": "Guo Zhi VATEST02-FDMC",
- "accountNumber": "00039175",
- "bankAddress": "Britain",
- "bankCode": "string",
- "bankName": "IFAST GLOBAL BANK LIMITED",
- "country": "GB",
- "currency": "GBP",
- "iban": "GB11EZYR04363000039175",
- "intermediaryBank": {
- "swiftCode": "MIDLGB22XXX"
}, - "paymentCode": "SWIFT",
- "sortCode": "043630",
- "swiftCode": "EZYRGB2L"
}, - "beneficiaryId": "10001",
- "beneficiaryInfo": {
- "accountType": "enterprise",
- "address": "350 5th Avenue",
- "city": "New York",
- "companyName": "ACME TRADING LIMITED",
- "email": "finance@acme.example",
- "firstName": "John",
- "lastName": "Smith",
- "nickName": "zzy02-SWIFT",
- "phone": "+12125550100",
- "postcode": "10118",
- "registerNumber": "REG202400088",
- "state": "NY"
}, - "obo": "00001"
}交易补充资料
| bizNo required | string [ 0 .. 64 ] characters Business number |
| bizType required | string Enums: payout、collection |
| extension | object Extension pass-through |
required | Array of objects (PartnerSupplementFileItem) File list |
| obo required | string [ 5 .. 20 ] characters Operating entity number |
| remark | string [ 0 .. 500 ] characters Remark |
{- "bizNo": "T202608200001",
- "bizType": "payout",
- "extension": { },
- "files": [
- {
- "fileId": "1138644406641610752",
- "fileType": "invoice"
}
], - "obo": "B1000001",
- "remark": "supplement invoice"
}autoQuote=true: platform quotes internally. autoQuote=false: a valid quoteId is required. orderNo is required and used as the idempotency key
| autoQuote required | string true: quote inside payout flow, no prior quote call; false: quoteId is required |
required | object (PartnerPaymentBeneficiaryInfo) Beneficiary info |
| obo required | string [ 5 .. 20 ] characters Merchant number |
| orderNo required | string [ 3 .. 32 ] characters Partner order number |
required | object (PartnerPaymentPayerInfo) Payer info |
| quoteId | string [ 0 .. 32 ] characters Quote ID |
required | object (PartnerPaymentTradeInfo) Payout trade info |
{- "autoQuote": "true",
- "beneficiaryInfo": {
- "beneficiaryAccount": "10001",
- "beneficiaryId": "10001"
}, - "obo": "00001",
- "orderNo": "202608130001",
- "payerInfo": {
- "globalAccount": "GB00XXXX0000000000"
}, - "quoteId": "Q202608130001",
- "tradeInfo": {
- "amount": "199.68",
- "currency": "USD",
- "feeWay": "SHA",
- "tradeComments": "invoice-20260813",
- "tradePurpose": "GOODS",
- "usePobo": "N"
}
}required | object (PartnerPaymentBeneficiaryModel) request |
| obo required | string [ 5 .. 20 ] characters Merchant number |
| orderNo required | string [ 1 .. 32 ] characters Partner order number |
required | object (PartnerPaymentPayerInfo) Payer info |
required | object (PartnerPaymentTradeInfoModel) request |
{- "beneficiaryInfo": {
- "beneficiaryAccount": "10001"
}, - "obo": "00001",
- "orderNo": "202608130001",
- "payerInfo": {
- "globalAccount": "GB00XXXX0000000000"
}, - "tradeInfo": {
- "amount": "199.68",
- "currency": "USD",
- "feeWay": "OUR",
- "tradeComments": "invoice-20260813",
- "tradePurpose": "GOODS"
}
}Preview payout method, fee and FX. Returns quoteId, which is required when autoQuote=false
required | object (PartnerPaymentBeneficiaryInfo) Beneficiary info |
| obo required | string [ 5 .. 20 ] characters Merchant number |
required | object (PartnerPaymentPayerInfo) Payer info |
| requestId required | string [ 0 .. 32 ] characters Request ID |
required | object (PartnerQuoteTradeInfo) Quote trade info |
{- "beneficiaryInfo": {
- "beneficiaryAccount": "10001",
- "beneficiaryId": "10001"
}, - "obo": "00001",
- "payerInfo": {
- "globalAccount": "GB00XXXX0000000000"
}, - "requestId": "REQ202608130001",
- "tradeInfo": {
- "amount": "199.68",
- "currency": "USD",
- "usePobo": "N"
}
}交易明细列表
| beneficiaryName | string [ 0 .. 255 ] characters [ 0 .. 255 ] Beneficiary name |
| currency | string [ 0 .. 3 ] characters [ 0 .. 3 ] USD |
| obo | string [ 5 .. 20 ] characters [ 5 .. 20 ] Merchant number |
| orderNo | string [ 0 .. 32 ] characters [ 0 .. 32 ] 202608130001 |
| pageNo required | string [ 1 .. 99999999 ] 当前页码,最小为1 |
| pageSize required | string [ 10 .. 100 ] 分页条数,最小10条,最大100条 |
| paymentCode | string [ 0 .. 32 ] characters [ 0 .. 32 ] SWIFT |
| tradeNo | string [ 0 .. 32 ] characters [ 0 .. 32 ] Platform trade number |
| tradeStatus | string [ 0 .. 32 ] characters [ 0 .. 32 ] ^(processing|success|failed|pending_supplemen... Enums: processing、success、failed、pending_supplement、under_review |
| tradeTimeAtEnd required | string = 19 characters [ 19 .. 19 ] ^$|^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$ 2026-08-13 23:59:59 |
| tradeTimeAtStart required | string = 19 characters [ 19 .. 19 ] ^$|^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$ 2026-08-13 00:00:00 |
修改webhook订阅
| apiVersion required | string = 8 characters Enums: 20260813、20260101 |
| enableStatus required | string^[YN]$ Enums: Y、N 当上送Y的时候表示启用 当上送N的时候表示停用 |
| eventIds | Array of strings 事件集合id |
| signMethod required | string [ 0 .. 32 ] characters Enums: sha256 |
| webhookUrl required | string [ 3 .. 512 ] characters ^https?://(?:(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}... Webhook URL |
{- "apiVersion": "20260813",
- "enableStatus": "Y",
- "eventIds": [
- "string"
], - "signMethod": "sha256",
}webhook订阅
| apiVersion required | string = 8 characters Enums: 20260813、20260101 |
| signMethod required | string [ 0 .. 32 ] characters Enums: sha256 |
| webhookUrl required | string [ 3 .. 512 ] characters ^https?://(?:(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}... Webhook webhook url |
{- "apiVersion": "20260813",
- "signMethod": "sha256",
}obo提交入网
| areaCode required | string [ 1 .. 5 ] characters 44、852、65 |
| email required | string [ 3 .. 128 ] characters |
required | object (Enterprise) Enterprise |
| oboType required | string Enums: enterprise、individual |
| phone required | string [ 0 .. 30 ] characters phone number |
| productType required | string globalaccount、acquiring、globalaccount&acquiring |
| requestId required | string [ 5 .. 64 ] characters ^[a-zA-Z0-9_-]+$ 流水号 length 5~64 |
| userId | string [ 0 .. 40 ] characters ^[0-9]+$ User Id |
{- "areaCode": "44",
- "email": "exp@xxx.com",
- "enterprise": {
- "enterpriseBaseInfo": {
- "attachments": [
- {
- "certNo": "5334565444",
- "fileId": "1222",
- "filetype": "CI"
}
], - "businessAddress": {
- "city": "Los Angeles",
- "country": "US",
- "line1": "123 Main Street",
- "postcode": "90001",
- "state": "California"
}, - "businessAddressEqualsRegisterAddress": "Y",
- "businessLocations": [
- "string"
], - "businessModel": "Sale of drones",
- "companyName": "Dji",
- "contactPersonName": "Tom",
- "country": "GB",
- "identifyNo": "54356644",
- "industry": "1130",
- "legalEntityName": "Dji",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "monthlyTurnover": "bt_100000_250000",
- "registerAddress": {
- "city": "Los Angeles",
- "country": "US",
- "line1": "123 Main Street",
- "postcode": "90001",
- "state": "California"
}, - "registrationDate": "2001-06-01",
}, - "enterpriseBeneficiariesInfo": [
- {
- "attachments": [
- {
- "certNo": "5334565444",
- "fileId": "1222",
- "filetype": "CI"
}
], - "beneficiaryType": "individual",
- "certIssuingCountry": "HK",
- "certType": "passport",
- "companyAreaCode": "86",
- "companyBusinessAddress": "123 Main Street",
- "companyBusinessPostcode": "90001",
- "companyEmail": "zqs@163.com",
- "companyName": "Tesla",
- "companyPhone": "15989890000",
- "companyPostcode": "90001",
- "companyRegisteredAddress": "123 Main Street",
- "companyRegistrationDate": "1985-05-08",
- "dateOfBirth": "1985-05-08",
- "expirationDate": "2034-06-09",
- "firstName": "firstName",
- "idNumber": "42095433244443",
- "identifyNo": "54356644",
- "lastName": "lastName",
- "legalPersonIsBeneficiary": "Y",
- "nationality": "HK",
- "residentialAddress": {
- "city": "Los Angeles",
- "country": "US",
- "line1": "123 Main Street",
- "postcode": "90001",
- "state": "California"
}, - "shareholdingPercentage": "25"
}
], - "enterpriseLegalInfo": [
- {
- "attachments": [
- {
- "certNo": "5334565444",
- "fileId": "1222",
- "filetype": "CI"
}
], - "beneficiaryType": "individual",
- "certIssuingCountry": "HK",
- "certType": "passport",
- "companyAreaCode": "86",
- "companyBusinessAddress": "123 Main Street",
- "companyBusinessPostcode": "90001",
- "companyEmail": "zqs@163.com",
- "companyName": "Tesla",
- "companyPhone": "15989890000",
- "companyPostcode": "90001",
- "companyRegisteredAddress": "123 Main Street",
- "companyRegistrationDate": "1985-05-08",
- "dateOfBirth": "1985-05-08",
- "expirationDate": "2034-06-09",
- "firstName": "firstName",
- "idNumber": "42095433244443",
- "identifyNo": "54356644",
- "lastName": "lastName",
- "legalPersonIsBeneficiary": "Y",
- "nationality": "HK",
- "residentialAddress": {
- "city": "Los Angeles",
- "country": "US",
- "line1": "123 Main Street",
- "postcode": "90001",
- "state": "California"
}, - "shareholdingPercentage": "25"
}
]
}, - "oboType": "enterprise",
- "phone": "15989890000",
- "productType": "globalaccount",
- "requestId": "202608130001",
- "userId": "26080133"
}obo入网信息修改
required | object (EnterpriseUpdateBaseInfo) EnterpriseUpdateBaseInfo |
Array of objects (PersonInfoUpdate) Enterprise Beneficiaries Information | |
Array of objects (PersonInfoUpdate) Enterprise Legal Information | |
| obo required | string [ 5 .. 20 ] characters OBO (On Behalf Of). Max length 30.OBO identifier (required) |
{- "enterpriseBaseInfo": {
- "attachments": [
- {
- "certNo": "5334565444",
- "fileId": "1222",
- "fileUrl": "string",
- "filetype": "CI",
- "id": "2095160088286867458"
}
], - "data": [
- {
- "fieldName": "email",
- "fieldValue": "zeyuan@example.com"
}
]
}, - "enterpriseBeneficiariesInfo": [
- {
- "attachments": [
- {
- "certNo": "5334565444",
- "fileId": "1222",
- "fileUrl": "string",
- "filetype": "CI",
- "id": "2095160088286867458"
}
], - "data": [
- {
- "fieldName": "email",
- "fieldValue": "zeyuan@example.com"
}
], - "id": "2097615657483161602"
}
], - "enterpriseLegalInfo": [
- {
- "attachments": [
- {
- "certNo": "5334565444",
- "fileId": "1222",
- "fileUrl": "string",
- "filetype": "CI",
- "id": "2095160088286867458"
}
], - "data": [
- {
- "fieldName": "email",
- "fieldValue": "zeyuan@example.com"
}
], - "id": "2097615657483161602"
}
], - "obo": "54731"
}用户注册
| country required | string = 2 characters 公司注册所在国家 ISO 3166 code |
| email required | string [ 3 .. 128 ] characters 有效邮箱号 length 3~128 |
| firstName required | string [ 2 .. 40 ] characters 名 |
| lastName required | string [ 2 .. 40 ] characters 姓 |
| password required | string [ 8 .. 25 ] characters password length 8~25 |
{- "country": "GB",
- "email": "xxx@example.com",
- "firstName": "string",
- "lastName": "string",
- "password": "cC12345678."
}inquiry Requests
| orderNo | string 订单编号/平台流水号任意上送其中一个即可 |
| paymentMethodType required | string 支付方式枚举值(M) |
| tradeNo | string 平台流水号/订单编号任意上送其中一个即可 |
{- "orderNo": "202308161615130001",
- "paymentMethodType": "card、payNow、wechat、upi、upay、alipay、alipayPlus、payNow、shopeePay",
- "tradeNo": "202308161615130001"
}inquiry Requests
| orderNo | string 订单编号/平台流水号任意上送其中一个即可 |
| paymentMethodType required | string 支付方式枚举值(M) |
| tradeNo | string 平台流水号/订单编号任意上送其中一个即可 |
{- "orderNo": "202308161615130001",
- "paymentMethodType": "card、payNow、wechat、upi、upay、alipay、alipayPlus、payNow、shopeePay",
- "tradeNo": "202308161615130001"
}使用任何可用的付款方式创建新付款
object (Alipay) Alipay | |
object (AlipayPlus) AlipayPlus | |
| amount required | string Amount 100.98 |
object (Billing) Billing | |
object (Card) Card | |
| currency required | string USD、SGD、GBP、EUR、JPY、HKD、ISO-4217 |
| description | string eg buy a apple |
required | object (DeviceInfo) DeviceInfo |
| expiryTime | string eg 60 |
| fraudMode | string N、Y |
| frontUrl | string Redirect url eg.https://api.xxx.com/callback;After the transaction is completed, a redirect will occur with the provided example parameters:{frontUrl}?tradeNo={tradeNo}&orderNo={orderNo}&status={orderStatus}&language=en-US&amount={amount} |
object (GrabPay) GrabPay | |
object metadata K -V | |
| notificationUrl | string Webhook notify url eg.https://api.xxx.com/gateway/notify |
| orderNo required | string string[5..64] |
object (PayNow) PayNow info | |
| paymentMethodType required | string card、payNow、paypal、wechat、upay、alipay、alipayPlus、shopeePay、applePay、googlePay、cashPay、zip、affirm、ideal、klarna、afterpay、bancontact、billie |
object (PayPal) PayPal | |
Array of objects (ProductInfo) Product Info | |
object (Shipping) Shipping | |
object (ShopeePay) ShopeePay | |
object (ThreeDsData) 3ds infomation | |
| threeDsMode | string no、auto、standard |
object (Upay) Upay | |
object (Wechat) |
{- "alipay": {
- "authCode": "120061098828009406",
- "limitPayMethod": "no_credit",
- "openId": "string",
- "productType": "qr-code",
- "storeId": "P000001",
- "subAppId": "string"
}, - "alipayPlus": {
- "authCode": "120061098828009406",
- "limitPayMethod": "no_credit",
- "openId": "string",
- "productType": "qr-code",
- "storeId": "P000001",
- "subAppId": "string"
}, - "amount": "199.68",
- "billing": {
- "address": {
- "city": "Los Angeles",
- "country": "US",
- "line1": "123 Main Street",
- "postcode": "90001",
- "state": "California"
}, - "birthday": "2022-08-01",
- "customerInitiatedReason": "UNSCHEDULED",
- "document": "diaodiaofly@gmail.com",
- "email": "diaodiaofly@gmail.com",
- "phone": {
- "countryCode": "852",
- "number": "8520083"
}, - "storedcredentials": "none/store,default is none"
}, - "card": {
- "captureMethod": "auto",
- "cardNo": "6212454545454690",
- "cvc": "401",
- "expiryMonth": "06",
- "expiryYear": "2031",
- "firstName": "zhong",
- "lastName": "yang"
}, - "currency": "USD、SGD、HKD、ISO-4217",
- "description": "buy a apple",
- "deviceInfo": {
- "browser": {
- "acceptHeader": "text/html",
- "colorDepth": "48",
- "javaEnable": false,
- "javascriptEnable": true,
- "screenHeight": "800",
- "screenWidth": "1200",
- "sessionId": "0",
- "timeZone": "0",
- "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
}, - "clientIp": "10.10.48.100",
- "deviceId": "10000000000",
- "language": "en-US",
- "location": {
- "lat": "-37.81892",
- "lon": "144.95913"
}, - "mobile": {
- "deviceModel": "apple iphone7",
- "osType": "IOS",
- "osVersion": "ios14.5"
}
}, - "expiryTime": "60",
- "fraudMode": "N、Y",
- "grabPay": {
- "productType": "qr-code"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "orderNo": "20220828000002",
- "payNow": {
- "productType": "qr-code"
}, - "paymentMethodType": "card、payNow、paypal、wechat、upay、alipay、alipayPlus、shopeePay、applePay、googlePay、cashPay、zip、affirm、ideal、klarna、afterpay、bancontact、billie...",
- "paypal": {
- "metadata": "key-value",
- "productType": "qr-code"
}, - "productInfo": [
- {
- "price": "5.55",
- "productName": "shirt",
- "quantity": "1",
- "sku": "00000000000001",
}
], - "shipping": {
- "address": {
- "city": "Los Angeles",
- "country": "US",
- "line1": "123 Main Street",
- "postcode": "90001",
- "state": "California"
}, - "carrier": "Fedex",
- "email": "diaodiaofly@gmail.com",
- "firstName": "zhong",
- "lastName": "yang",
- "phone": {
- "countryCode": "852",
- "number": "8520083"
}, - "trackingNo": "202208290000001"
}, - "shopeePay": {
- "productType": "qr-code"
}, - "threeDsData": {
- "authenticationResultCode": "Y",
- "cavv": "a772a34d-d58a-4896-bf22-40b2af96eabd",
- "dsTransId": "020100006afa60729412446b96732f98b3ee98a2",
- "dsVersion": "2.1.0",
- "eci": "01",
- "threeDsServerTransactionId": "string",
- "xid": "6KFc3kiIW498wGWvQ7X0"
}, - "threeDsMode": "no、auto、standard",
- "upay": {
- "authCode": "120061098828009406",
- "productType": "qr-code",
- "storeId": "P000001"
}, - "wechat": {
- "attach": "string",
- "authCode": "120061098828009406",
- "limitPayMethod": "no_credit",
- "openId": "string",
- "productType": "qr-code、pay、in-app、mini-program、h5",
- "storeId": "P000001",
- "subAppId": "string"
}
}Refund objects allow you to refund a previously created charge that isn’t refunded yet. Funds are refunded to the credit or debit card that’s initially charged.
| amount required | string amount |
| clientIp required | string Client ip |
| notificationUrl | string 通知地址 |
| orderNo | string Transaction order no |
| reason required | string reason |
| refundNumber required | string Refund order no |
| tradeNo | string Transaction reference |
{- "amount": "100.99",
- "clientIp": "10.1.1.1",
- "notificationUrl": "string",
- "orderNo": "string",
- "reason": "The product does not match the description",
- "refundNumber": "202208280000001",
- "tradeNo": "string"
}Retrieve Tracking Details
object matedata | |
| orderNo required | string Order no |
| trackingNo required | string Tracking No |
{- "matedata": "K-V",
- "orderNo": "202308161615130001",
- "trackingNo": "202208290000001"
}Adds tracking information for an Order.
| carrier required | string carrier |
| orderNo required | string Order no [5..64] |
| shipmentDate required | string Shipment date |
| shipmentDirection required | string Shipment direction |
| shippingStatus required | string Status |
| trackingNo required | string Tracking no |
| trackingNumberType required | string Tracking number type |
| trackingUrl | string tracking url |
{- "carrier": "2EBOX",
- "orderNo": "202308161615130001",
- "shipmentDate": "2025-06-09",
- "shipmentDirection": "FORWARD",
- "shippingStatus": "SHIPPED、CANCELLED、DELIVERED",
- "trackingNo": "Fb202208290000001",
- "trackingNumberType": "CARRIER_PROVIDED",
}Add tracking information for multiple for Order.
| carrier required | string carrier |
| orderNo required | string Order no [5..64] |
| shipmentDate required | string Shipment date |
| shipmentDirection required | string Shipment direction |
| shippingStatus required | string Status |
| trackingNo required | string Tracking no |
| trackingNumberType required | string Tracking number type |
| trackingUrl | string tracking url |
[- {
- "carrier": "2EBOX",
- "orderNo": "202308161615130001",
- "shipmentDate": "2025-06-09",
- "shipmentDirection": "FORWARD",
- "shippingStatus": "SHIPPED、CANCELLED、DELIVERED",
- "trackingNo": "Fb202208290000001",
- "trackingNumberType": "CARRIER_PROVIDED",
}
]Updates or cancels the tracking information for a order
required | Array of objects (TrackingIterm) |
object matedata K-V | |
| orderNo required | string Order no [5..64] |
| trackingNo required | string tracking no |
{- "iterms": [
- {
- "op": "replace",
- "path": "/status",
- "value": "CANCELLED"
}
], - "matedata": "K-V",
- "orderNo": "202308161615130001",
- "trackingNo": "FB202208290000001"
}海关申报单 Tenpay的10位数字海关注册号为:4403169D3W
| customs required | string [ 1 .. 32 ] characters |
| duty | string Tariff (in 0.01 CNY). It is not required and will not be submitted to the customs. |
| feeType required | string [ 1 .. 32 ] characters The currency used for order payment via WeChat Pay. Only CNY is currently supported. It is required if there is a split order. |
| merchantCustomNo required | string [ 1 .. 32 ] characters Customs registration No. of the merchant |
| orderFee | string mount (in 0.01 CNY). Cannot exceed the original order amount. order_fee=transport_fee+product_fee (payable amount = logistics fee + product price). It is required if there is a split order |
| productFee | string Product price (in 0.01 CNY). It is required if there is a split order. |
| tradeNo required | string [ 5 .. 50 ] characters |
| transportFee | string Logistics fee (in 0.01 CNY). It is required if there is a split order. |
{- "customs": "SHANGHAI_ZS",
- "duty": "0.01",
- "feeType": "CNY",
- "merchantCustomNo": "123456",
- "orderFee": "0.01",
- "productFee": "0.01",
- "tradeNo": "26013014374061701",
- "transportFee": "0.01"
}