File tree Expand file tree Collapse file tree 15 files changed +24
-161
lines changed
Expand file tree Collapse file tree 15 files changed +24
-161
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Execute automatic deduction from user's account using a signed agreement. This i
1818| :----------| :-----| :---------| :------------|
1919| merchant_id | string | ** Yes** | Merchant ID |
2020| user_id | string | ** Yes** | Platform user ID |
21- | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` SINGLE ` |
21+ | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` NON_CYCLE ` / ` SINGLE ` |
2222| agreement_no | string | ** Yes** | Platform agreement number |
2323| out_trade_no | string | ** Yes** | Merchant order number (unique) |
2424| scene_code | string | ** Yes** | [ Scene code] ( appendix#scene-codes ) |
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Error codes are returned through the `retCode` field in the response body. The `
4646| 139001010 | USER_ID_MISMATCH | User ID mismatch | Check if user ID matches sign time |
4747| 139001011 | AGREEMENT_USER_MISMATCH | Agreement user mismatch | Check user-agreement binding |
4848| 139001012 | SIGN_URL_EXPIRED | Sign URL has expired | Re-initiate sign request for new link |
49- | 139001013 | AGREEMENT_TYPE_MISMATCH | Agreement type mismatch | Check if agreement type (CYCLE/SINGLE) is correct |
49+ | 139001013 | AGREEMENT_TYPE_MISMATCH | Agreement type mismatch | Check if agreement type (CYCLE/NON_CYCLE/ SINGLE) is correct |
5050
5151---
5252
Original file line number Diff line number Diff line change @@ -165,7 +165,6 @@ User receives refund notification (Push/SMS)
165165| API Name | Method | Endpoint | Description |
166166| :---------| :-------| :---------| :------------|
167167| [ Sign Request] ( sign-request ) | POST | ` /v5/bybitpay/agreement/sign ` | Create sign request, get QR code |
168- | [ Sign Confirm] ( sign-confirm ) | POST | ` /v5/bybitpay/agreement/confirm ` | Confirm sign status (optional) |
169168| [ Unsign] ( unsign ) | POST | ` /v5/bybitpay/agreement/unsign ` | Terminate agreement |
170169| [ Deduction] ( deduction ) | POST | ` /v5/bybitpay/agreement/pay ` | Execute automatic deduction |
171170| [ Refund] ( refund ) | POST | ` /v5/bybitpay/agreement/refund ` | Refund deduction transaction |
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Query agreement list under merchant with pagination and filtering support.
1818| :----------| :-----| :---------| :------------|
1919| merchant_id | string | ** Yes** | Merchant ID |
2020| user_id | string | No | Platform user ID (filter by user) |
21- | agreement_type | string | No | Sign type: ` CYCLE ` / ` SINGLE ` (query all if not provided) |
21+ | agreement_type | string | No | Sign type: ` CYCLE ` / ` NON_CYCLE ` / ` SINGLE ` (query all if not provided) |
2222| status | string | No | Status filter: ` INIT ` / ` PENDING ` / ` SIGNED ` / ` SUSPENDED ` / ` UNSIGNED ` / ` EXPIRED ` / ` FAILED ` |
2323| scene_code | string | No | Scene code filter |
2424| start_time | string | No | Sign start time (ISO8601) |
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Query deduction transaction or refund record list under an agreement with pagina
1818| :----------| :-----| :---------| :------------|
1919| merchant_id | string | ** Yes** | Merchant ID |
2020| user_id | string | ** Yes** | Platform user ID |
21- | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` SINGLE ` |
21+ | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` NON_CYCLE ` / ` SINGLE ` |
2222| agreement_no | string | ** Yes** | Platform agreement number |
2323| record_type | string | No | Record type: ` PAY ` (default) / ` REFUND ` |
2424| status | string | No | Status filter: ` SUCCESS ` / ` FAILED ` / ` PROCESSING ` |
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ This API supports merchants to complete both agreement signing and deduction pay
3131| :----------| :-----| :---------| :------------|
3232| merchant_id | string | ** Yes** | Merchant ID |
3333| user_id | string | ** Yes** | Platform user ID |
34- | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` SINGLE ` |
34+ | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` NON_CYCLE ` / ` SINGLE ` |
3535| sign_params | object | No | Sign parameters (required for first sign + payment) |
3636| sign_params.merchant_user_id | string | Conditional | Merchant-side user ID (required when passing sign_params) |
3737| sign_params.scene_code | string | Conditional | [ Scene code] ( appendix#scene-codes ) (required when passing sign_params) |
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Query single agreement status and details.
1818| :----------| :-----| :---------| :------------|
1919| merchant_id | string | ** Yes** | Merchant ID |
2020| user_id | string | ** Yes** | Platform user ID |
21- | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` SINGLE ` |
21+ | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` NON_CYCLE ` / ` SINGLE ` |
2222| agreement_no | string | Either | Platform agreement number |
2323| external_agreement_no | string | Either | Merchant agreement number |
2424
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Query single deduction transaction or refund record details.
1818| :----------| :-----| :---------| :------------|
1919| merchant_id | string | ** Yes** | Merchant ID |
2020| user_id | string | ** Yes** | Platform user ID |
21- | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` SINGLE ` |
21+ | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` NON_CYCLE ` / ` SINGLE ` |
2222| record_type | string | No | Record type: ` PAY ` (default) / ` REFUND ` |
2323| trade_no | string | Conditional | Platform trade number (for ` record_type=PAY ` ) |
2424| out_trade_no | string | Conditional | Merchant order number (for ` record_type=PAY ` ) |
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Initiate refund for a successful deduction transaction. Supports full and partia
1818| :----------| :-----| :---------| :------------|
1919| merchant_id | string | ** Yes** | Merchant ID |
2020| user_id | string | ** Yes** | Platform user ID |
21- | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` SINGLE ` |
21+ | agreement_type | string | ** Yes** | Sign type: ` CYCLE ` / ` NON_CYCLE ` / ` SINGLE ` |
2222| trade_no | string | Either | Platform trade number |
2323| out_trade_no | string | Either | Merchant order number |
2424| out_refund_no | string | ** Yes** | Merchant refund number (unique) |
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments