---
title: "POST /cancel_scheduled_retry"
method: POST
path: "/cancel_scheduled_retry"
tags: ["One-Time Schedules"]
---

# POST /cancel_scheduled_retry

`POST /cancel_scheduled_retry`

Use the <code>pnm_schedule_identifier</code> to specify the scheduled payment retry you wish to cancel. This call works for both recurring autopay schedules and future-dated, one-time payment schedules.

## Request body

- CancelScheduledRetry — Cancels the retry transaction for a future-dated, one-time payment or an autopay payment that declined.
  - `site_identifier` string, required — Identifies your client site.
  - `timestamp` string, required — The Unix Epoch time of the call
  - `version` string, required — The version of the API. This version must match the version associated with your API key pair.
  - `signature` string, required — The HMAC signature that is calculated by running your API Secret Key and the alphabetized, concatenated parameters of the request payload through the SHA256 message digest algorithm.
  - `pnm_scheduled_payment_identifier` string, required — The unique, PayNearMe-created identifier for this scheduled payment.

## Response `201`

Scheduled Retry Payment Canceled

- ScheduledPayment — The Scheduled Payments object contains the details of future-dated, one-time payments.
  - `pnm_scheduled_payment_identifier` string — The unique, PayNearMe-provided ID of this scheduled payment.
  - `scheduled_payment_date` string, date-time — The date and time when the consumer scheduled the payment.
  - `scheduled_payment_amount` number — The total amount of the scheduled payment including convenience fees.
  - `scheduled_payment_currency` string — USD
  - `scheduled_payment_status` 'active' | 'user_suspended' | 'pending' | 'complete' | 'disabled' — The status of the payment.
  - `scheduled_payment_pricing_schedule_name` string — Specifies the name of the pricing schedule (e.g.,<code>agent_recurring</code> or <code>consumer_recurring</code>). Supported values can include site-configured pricing schedules.
  - `scheduled_payment_payment_method` string — A short description of the payment method that will be used for this scheduled payment.
  - `scheduled_payment_service_fee` string — The service fee that will be charged for this scheduled payment.
  - `scheduled_payment_origin` 'consumer' | 'merchant' | 'import' | 'pnm' — The origin of the scheduled payment. Supported options include the folloing:<ul><li><code>consumer</code></li><li><code>merchant</code></li><li><code>import</code></li><li><code>pnm</code></li></ul>
  - `scheduled_payment_created_by` string — The name or ID of the creator of this scheduled payment.
  - `scheduled_payment_type` string — Indicates whether this is a <code>recurring</code> autopay payment or a <code>one-time</code> scheduled payment.
  - `scheduled_payment_retry_pending` string — Indicates whether or not there is a pending retry scheduled for this transaction.

---

[API](https://skmtc.net/paynearme/apis/paynearme-api-v3-0.md) · [All operations](https://skmtc.net/paynearme/apis/paynearme-api-v3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paynearme/paynearme-api-v3-0/revisions/44cba4f8b80f/schema)
