---
title: "eft/withdraw/schedule/edit"
method: POST
path: "/eft/withdraw/schedule/edit"
tags: ["EFT Endpoint"]
---

# eft/withdraw/schedule/edit

`POST /eft/withdraw/schedule/edit`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/eft/withdraw/schedule/edit`
- Auth: none declared

This endpoint is used to edit or cancel an upcoming payment (only the amount can be edited). 

Notes. If the field amount is set as 0 or it is not provided, we consider the upcoming payment as cancelled. 

For additional details of the scheduled transactions, please visit https://docs.vopay.com/docs/schedule-a-payment

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `ScheduledTransactionID` integer, required: ID of the schedule transaction to edit
  - `Amount` number: The new amount of the upcoming payment to edit, If this value is 0 we consider that upcoming payment as cancelled
  - `UpcomingPayment` string, date, required: The date of the upcoming payment. This payment has to belong to the list of upcoming payments of the scheduled transaction to edit.
  - `NewDate` string, date, required: The new date of the upcoming payment. This will update the UpcomingPayment date for this particular payment. Note that the UpcomingPayment date for all other payments, that belongs to the same scheduled transaction, will not be affected.

## Response `200`

- object
  - `Success` boolean, required: True if the request was successful, false if it failed
  - `ErrorMessage` string, required: Contains a description of the error if the request failed

---

[API](https://skmtc.dev/vopay/apis/payment-rails.md) - [All operations](https://skmtc.dev/vopay/apis/payment-rails/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/payment-rails/revisions/d6fe8969ddcf?raw)
