This endpoint allows users to terminate an existing savings plan by submitting the unique identifier of the plan and the status canceled
. This endpoint processes the cancellation request and provides back the successful cancellation of the plan and all its details.
Cancel a savings plan.
Success Response
Unauthorized
Forbidden
Not Found
Not Allowed
Validation Error
Too Many Requests
Internal Error
Maintenance or Service unavailable
{- "status": "canceled"
}
{- "data": {
- "user_id": "1ed55cc7-f413-69a4-88f6-5aa1a9244d15",
- "fiat_id": 1,
- "asset_id": 1,
- "fiat_amount": "20.12",
- "frequency": "weekly",
- "day": 5,
- "status": "canceled",
- "id": "1ed55cc7-f413-69a4-88f6-5aa1a9244d15",
- "created_at": "2022-01-01T13:07:31+00:00"
}
}