Agreement modification

create amendment

Create an amendment for an existing Agreement.

Any attributes of the existing Agreement that will no longer be relevant after the amendment has been applied must be set to null as part of the amendment. For example, when amending payment_terms.type from "fixed" to "variable", payment_terms.amount must be set to null.

post/payto/agreements/{agreement_uid}/amendment

Request

  • Base URL
    https://api.sandbox.zeptopayments.com
  • URL
    https://api.sandbox.zeptopayments.com/payto/agreements/{agreement_uid}/amendment
  • Auth
    HTTP bearer

Headers

Zepto-API-Versionstring
Example:20260901

API version in YYYYMMDD format. Defaults to 20250101 (legacy) when omitted.

Request body

resolution_requested_beforestring date-time nullable

Requested resolution (accept/decline) deadline for this amendment. It will be provided in any notification sent to the debtor. This time is for informational purposes only and does not affect the expiry time. If not provided, it defaults to 5 days from amendment creation. Value must be an ISO8601 date-time in UTC timezone.

Example request

{
  "changes": {
    "description": "Payment plan for loan #1234",
    "validity_end_date": "2023-12-31",
    "payment_terms": {
      "type": "fixed",
      "frequency": "monthly",
      "count": 1,
      "amount": 10000,
      "max_amount": 100000,
      "first_payment_amount": 100000,
      "last_payment_amount": 100000,
      "first_payment_date": "2023-12-31",
      "last_payment_date": "2024-12-31"
    },
    "creditor": {
      "ultimate_party_name": "Billie Jean Senior",
      "party_name": "Billie Jean Junior",
      "account_identifier": {
        "value": "123456-98765432"
      },
      "payment_account_uid": "pa_20221231_G7MQWwkQZIP8vbfH"
    }
  },
  "resolution_requested_before": "2022-01-20T12:34:56Z"
}

Response

accepted

Changes

No recorded changes to this operation across all 1 revision of this API.