Accept agreement
POST/v1/agreements/:id/accept
Accepts a proposed agreement (409 for other statuses): records accepted_at/accepted_ip and creates the installments with monthly due dates starting at first_due_date.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 409
- 413
- 429
- 500
Agreement accepted (returns the agreement with the created installments).
Invalid request (validation error).
Missing, invalid, expired or revoked token.
The token lacks the scope required by this operation.
Resource not found or outside your organization.
Conflict with the current resource state (or reused idempotency key).
Request body larger than 2 MB.
Rate limit exceeded (600 per minute per key; 60 invalid attempts per minute per IP). Wait for Retry-After.
Internal error. Retry; if it persists, contact support.