Request for compulsory deduction(API-D02)

Interface description

The user requests Dowsure to notify the payment company to process the compulsory foreign exchange settlement. The payment company will respond to the compulsory foreign exchange settlement task on T+1 day, and perform the compulsory foreign exchange settlement on the merchant's funds to the designated merchant's bank card. If the current funds are insufficient, the user will regularly initiate the foreign exchange settlement task until the full amount is processed. After the full amount is processed, the compulsory foreign exchange settlement will be automatically closed. Dowsure asynchronously notifies the user of the foreign exchange settlement task.

[!NOTE|style:flat] Note: This interface is only limited to Dowsure's cooperative payment companies.

  • Mandatory deduction card number and amount information shall be provided.

  • After the payment company completes the full deduction, the mandatory deduction function will be automatically released without calling.

    Release of compulsory deduction(API-D03)

Interface address

UPDATE        /v1/psp/repayment

Request parameters

Field Description Required
applicationCode String(32)
Dowsure Seller application form No
Required
cardNumber String(30)
The merchant card number will be verified by three elements in clear text.
Required
cardType Enum
Card type, personal card or corporate card
PERSONAL、ENTERPRISE
Required
cardName String(100)
Account name, bank card account name (person name or enterprise name)
Required
bankName String(100)
Bank Name
Required
openBankName String(100)
Name of branch of deposit bank
if Required
when [cardType=ENTERPRISE] Required
openBankNo String(32)
Large amount bank No
if Required
when [cardType=ENTERPRISE] Required
currency num
Currency(ISO 4217 currency codes
CNY Default: CNY
Optional
repaymentAmount Decimal(10,2)
Repayment amount
Required
loanCode String(32)
Loan code
Required
loanContractNo String(32)
Loan Contract No
Optional
bizId String(32)
Business ID, which is unique and used for subsequent cancellation
Required
overdueStatus Enum
Overdue Status
OVERDUE、NOT_OVERDUE
Required
reason String(256)
Reason for deduction
if Required
when [overdueStatus=NOT OVERDUE] Required

Request Example

[{
    "applicationCode":"xxxxx",
    "cardNumber":"1010100101010101",
    "cardType":"ENTERPRISE",
    "cardName":"Dowsure",
    "bankName":"bank name",
    "openBankName":"open Bank name",
    "openBankNo":"1010100101010101",
    "currency":"CNY",
    "repaymentAmount":"10000.00",
    "loanId":"2020202020202",
    "loanContractNo":"2020202020202",
    "bizId":"biz101010101010",
    "overdueStatus":"NOT_OVERDUE",
    "reason":"reason"
}]

Response Parameters

Appendix 4: Unified Response

Response Example

None

results matching ""

    No results matching ""