---
title: "reactivate agreement"
method: POST
path: "/payto/agreements/{agreement_uid}/reactivation"
tags: ["Agreement modification"]
---

# reactivate agreement

`POST /payto/agreements/{agreement_uid}/reactivation`

## Request

- Base URL: `https://api.sandbox.zeptopayments.com`
- URL: `https://api.sandbox.zeptopayments.com/payto/agreements/{agreement_uid}/reactivation`
- Auth: HTTP bearer

## Request body

- PaytoReactivationRequest
  - `sandbox` object: SANDBOX ONLY: Parameter that allows you to simulate certain scenarios in regards to the created agreement reactivation to aid integrators while testing their control flows.
    - `simulate` 'agreement_cancelled' | 'successful_reactivation', required
    - `delay` integer: An optional attribute that will delay the requested simulation by the given amount of seconds. If `delay` is not provided (default behaviour), the simulated action will happen instantly.

## Response `202`

accepted

## Other responses

- `400`: Bad Request
- `401`: unauthorized
- `403`: forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/zeptopayments/apis/zepto-payto-api.md) - [All operations](https://skmtc.dev/zeptopayments/apis/zepto-payto-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeptopayments/apis/zepto-payto-api/revisions/dfc64507b23c?raw)
