Skip to main content
PATCH
/
payment_schedules
/
{payment_schedule_id}
Update a payment schedule
curl --request PATCH \
  --url https://api.synctera.com/v2/payment_schedules/{payment_schedule_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "description": "<string>",
  "payment_instruction": {
    "request": {
      "amount": 607,
      "currency": "USD",
      "customer_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96",
      "dc_sign": "debit",
      "originating_account_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96",
      "receiving_account_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96",
      "company_entry_description": "PAYROLL",
      "company_name": "Asdf Finance",
      "effective_date": "2022-03-18",
      "external_data": {},
      "final_customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "hold": {
        "amount": 123,
        "duration": 2
      },
      "is_same_day": true,
      "memo": "<string>",
      "reference_info": "Tempore atque et cum.",
      "risk": {
        "client_ip": "<string>"
      },
      "sec_code": "WEB"
    }
  },
  "schedule": {
    "interval": 183,
    "start_date": "2023-12-25",
    "count": 2,
    "end_date": "2023-12-25"
  },
  "tenant": "abcdef_ghijkl",
  "creation_time": "2023-11-07T05:31:56Z",
  "last_updated_time": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metadata": {},
  "next_payment_date": {
    "execution_date": "2023-12-25",
    "scheduled_date": "2023-12-25"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.synctera.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

payment_schedule_id
string<uuid>
required

Payment schedule ID

Body

application/json

payment schedule to update

Patch request for payment schedule

status
enum<string>

Target payment schedule status

Available options:
CANCELLED

Response

Updated payment schedule

Payment schedule

description
string
required

User provided description for the payment schedule

payment_instruction
object
required
schedule
object
required

Payment schedule recurrence configuration

tenant
string
required

The id of the tenant containing the resource. This is relevant for Fintechs that have multiple workspaces.

Example:

"abcdef_ghijkl"

creation_time
string<date-time>
required
last_updated_time
string<date-time>
required
id
string<uuid>
read-only

Payment schedule ID

metadata
object

User provided JSON format data

next_payment_date
object
read-only
status
enum<string>
read-only

Status of the payment schedule.

Available options:
ACTIVE,
EXPIRED,
CANCELLED,
ERRORED