GET
/
payment_schedules
/
payments
List payments
curl --request GET \
  --url https://api-sandbox.synctera.com/v0/payment_schedules/payments \
  --header 'Authorization: Bearer <token>'
{
  "payments": [
    {
      "description": "<string>",
      "error_details": {
        "code": "<string>",
        "details": "<string>"
      },
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "metadata": {},
      "payment_date": {
        "execution_date": "2023-12-25",
        "scheduled_date": "2023-12-25"
      },
      "payment_instruction": {
        "request": {
          "amount": 607,
          "company_entry_description": "PAYROLL",
          "company_name": "Asdf Finance",
          "currency": "USD",
          "customer_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96",
          "dc_sign": "debit",
          "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>",
          "originating_account_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96",
          "receiving_account_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96",
          "reference_info": "Tempore atque et cum.",
          "risk": {
            "client_ip": "<string>"
          },
          "sec_code": "WEB"
        },
        "type": "ACH"
      },
      "payment_schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "COMPLETED",
      "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "next_page_token": "a8937a0d"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

id
string<uuid>[]

IDs. Multiple IDs can be provided as a comma-separated list.

Example:

"64438afd-fa20-4010-a573-2bbdca77cdb6,84ef251c-ab8f-47a5-bbfd-a16648f95157"

account_id
string<uuid>[]

Originating account IDs. Multiple IDs can be provided as a comma-separated list.

Example:

"64438afd-fa20-4010-a573-2bbdca77cdb6,84ef251c-ab8f-47a5-bbfd-a16648f95157"

page_token
string

Optional pagination token to be provided to retrieve subsequent pages, returned from previous get

Example:

"a8937a0d"

schedule_id
string<uuid>[]

Payment schedule IDs. Multiple IDs can be provided as a comma-separated list.

Example:

"64438afd-fa20-4010-a573-2bbdca77cdb6,84ef251c-ab8f-47a5-bbfd-a16648f95157"

limit
integer
default:100

Maximum number of objects to return per page. If the limit is greater than 100, then it will be set to 100.

Required range: x >= 1
Example:

100

customer_id
string<uuid>[]

The IDs of customers who created the payment schedules. Multiple IDs can be provided as a comma-separated list.

Example:

"64438afd-fa20-4010-a573-2bbdca77cdb6,84ef251c-ab8f-47a5-bbfd-a16648f95157"

Response

200
application/json

List of payment schedules

The response is of type object.