Skip to content

Commit 297068b

Browse files
belenweiclaude
andcommitted
Sync recurring-payments docs with v2.3 changes
- Add NON_CYCLE agreement type to all API documentation - Add failureCode field to webhook notifications - Remove Sign Confirmation API (sign-confirm.mdx) - Update API list and sidebar references - Update error code descriptions This change keeps recurring-payments docs in sync with the main agreement-payment-api-lark-en.md document (commit 047da11). Co-Authored-By: Claude <[email protected]>
1 parent 047da11 commit 297068b

15 files changed

+24
-161
lines changed

docs/recurring-payments/deduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) |

docs/recurring-payments/error-codes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

docs/recurring-payments/introduction.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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 |

docs/recurring-payments/list-agreements.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) |

docs/recurring-payments/list-transactions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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` |

docs/recurring-payments/pay-with-sign.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) |

docs/recurring-payments/query-agreement.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

docs/recurring-payments/query-transaction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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`) |

docs/recurring-payments/refund.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) |

docs/recurring-payments/sign-confirm.mdx

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)