B2B (Business-to-Business): both sender (
senderObject.bizMode = B) and receiver (receiverObject.bizMode = B) are enterprises.
English company names and addresses must match the regex: ^[a-zA-Z0-9\s.,!?:;'"()\[\]{}/*\\-]+$POST https://{baseUrl}/api/sp1307
Request Parameters
Your unique merchant order number. Must be consistent with the value used in sp1306. Max 32 characters.
Transfer settings and callback configuration.
Show infoObject fields
Show infoObject fields
Fee arrangement. Required when
settlementNetwork is SWIFT.OUR— sender bears all fees.SHA— each party bears their own bank fees.BEN— receiver bears all fees.
Optional transfer remarks. Max 255 characters.
Your HTTPS callback URL to receive the sp3302 webhook with the final transfer result. Max 255 characters.
Enterprise sender’s company and address information.
Show senderObject fields
Show senderObject fields
Pre-registered sender ID. If provided, skip all company fields below.
Business mode. Must be
B for enterprise.ISO 3166-1 alpha-2 country code of the sender’s bank. Also used as the source-of-funds country.
Country where the company is registered.
Company name. Allowed characters:
^[a-zA-Z0-9\s.,!?:;'"()\[\]{}/*\\-]+$Company registration certificate number.
Certificate issue date. Format:
YYYY-MM-DD.Certificate expiry date. Format:
YYYY-MM-DD.Business license image. Required when
bankCountry is CN.Business registration certificate image. Required when
bankCountry is HK.Certificate of incorporation image. Required when
bankCountry is non-CN. Also required when bankCountry is HK.Company email address (optional).
Phone area code (optional). Must be provided together with
phoneNo or both must be empty. See the phone code dictionary.Phone number (optional). Must be provided together with
phoneAreaCode or both must be empty.Country of business address. See the country dictionary.
State or province. Use the English name for non-CN countries. Use the province/city code for CN. See the dictionary.
City.
Street address. Allowed characters:
^[a-zA-Z0-9\s.,!?:;'"()\[\]{}/*\\-]+$Postal code (optional).
Enterprise receiver’s bank account and company information.
Show receiverObject fields
Show receiverObject fields
Pre-registered receiver ID. If provided, skip all company fields below.
Payment method. For
SWIFT, the default is WIRE. For LOCAL, see the payment method data dictionary.Business mode. Must be
B for enterprise.Bank account number.
Bank code. Rules:
- For
LOCAL: required whenpayoutMethodis notWECHATorALIPAY. Also required whenbankCountryisCN,BR, orIN(in which casebranchCodeis also required). - For
SWIFT: not required (usebankNameinstead).
Bank name. Required for
SWIFT transfers.Branch code. Required when
bankCountry is CN, BR, or IN on LOCAL rails.Correspondent bank name. Optional,
SWIFT only. Either provide all three proxy bank fields or none.Correspondent bank address. Optional,
SWIFT only.Correspondent bank SWIFT code. Optional,
SWIFT only.SWIFT/BIC code of the receiver’s bank. Required when
settlementNetwork is SWIFT.Country where the receiver’s company is registered.
Company name. For
LOCAL transfers to CN in CNY, use the Chinese name; otherwise use the same format as the sender.Company registration certificate number.
Business license image (optional). Applicable for CN.
Business registration certificate image (optional). Applicable for HK.
Certificate of incorporation image (optional). Applicable for non-CN and HK.
Company email address (optional).
Phone area code. Required when
bankCountry is BR, KR, MA, or IN. See the phone code dictionary.Phone number (optional).
Country of business address. See the country dictionary.
State or province. Use the English name for non-CN countries. Use the province/city code for CN. See the dictionary.
City.
Street address.
Postal code (optional).
Compliance and purpose information.
Show complianceObject fields
Show complianceObject fields
Source of funds for the sender (enterprise). Use
01 (company funds).Transfer purpose code. See the purpose data dictionary.
Relationship between sender and receiver (optional).
Supporting transaction documents (optional). Maximum 5 items.
Response Body
Echo of your merchant order number.
Transfer status and reference information.
Show infoObject fields
Show infoObject fields
System business flow number. Consistent with the value returned by sp1306. Retain this for reconciliation.
Sender’s registered ID. Present once the transfer is successfully confirmed.
Receiver’s registered ID. Present once the transfer is successfully confirmed.
Settlement network used:
LOCAL or SWIFT.Exchange rate applied to this transfer.
Current order status. Initial value is
PROCESS (processing). The final result (SUCC or FAIL) is delivered asynchronously via the sp3302 webhook.Transaction response code.
Transaction response message.
{
"merOrderNo": "335621309488901",
"infoObject": {
"feeDirection": "OUR",
"tradeComments": "Service payment",
"callbackUrl": "https://yourplatform.com/callback/transfer"
},
"senderObject": {
"bizMode": "B",
"bankCountry": "CN",
"registerCountry": "CN",
"companyName": "Acme Trading Co Ltd",
"companyRegisterNo": "91110000123456789X",
"companyIssueDate": "2015-03-01",
"companyExpiryDate": "2035-03-01",
"businessLicenseImg": "https://example.com/license.jpg",
"addressCountry": "CN",
"addressProvince": "110000",
"addressCity": "Beijing",
"addressLine": "No.88 Business Avenue"
},
"receiverObject": {
"bizMode": "B",
"payoutMethod": "WIRE",
"accountNo": "987654321",
"bankName": "JPMORGAN CHASE BANK",
"swiftCode": "CHASUS33",
"registerCountry": "US",
"companyName": "Global Supply Inc",
"companyRegisterNo": "US-12345678",
"addressCountry": "US",
"addressProvince": "New York",
"addressCity": "New York",
"addressLine": "500 Fifth Avenue"
},
"complianceObject": {
"fundSource": "01",
"purpose": "36"
}
}
{
"merOrderNo": "335621309488901",
"senderAmount": {
"currency": "CNY",
"amount": "71250.00"
},
"receiverAmount": {
"currency": "USD",
"amount": "10000.00",
"bankCountry": "US"
},
"infoObject": {
"bizFlow": "21875022415083500100",
"senderId": "b2c3d4e5f6a1",
"receiverId": "a1b2c3d4e5f6",
"settlementNetwork": "SWIFT",
"rate": "7.1250",
"status": "PROCESS",
"code": "S00001",
"message": "Processing"
}
}
Sandbox Testing
In the sandbox environment, the final transfer result is determined by the last digit of the submitted amount:| Last digit | Simulated result |
|---|---|
| 0 – 3 | Success (SUCC) |
| 4 – 6 | Rejected (FAIL) |
| 7 – 9 | No action (remains in PROCESS) |
