Retrieves the payment schedule with the given ID.
fields[] | Array of strings Allows you to specify which fields are returned in the response.
Example: fields[]=id,created_time |
payment_schedule.fields[] | Array of strings Deprecated Allows you to specify which fields are returned in the response.
Example: payment_schedule.fields[]=id,created_time |
payment_schedule_item.fields[] | Array of strings Allows you to specify which fields are returned in the response.
Example: payment_schedule_item.fields[]=id,created_time |
expand[] | Array of strings Allows you to expand responses by including related object information in a single call. See the Expand responses section of the Quickstart API Tutorials for detailed instructions. |
filter[] | Array of strings A case-sensitive filter on the list. See the Filter lists section of the Quickstart API Tutorial for detailed instructions. |
page_size | integer [ 1 .. 99 ] The maximum number of results to return in a single page. If the specified |
zuora-track-id | string A custom identifier for tracking API requests. If you set a value for this header, Zuora returns the same value in the response header. This header enables you to track your API calls to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon (:), semicolon (;), double quote ("), or quote ('). |
async | boolean Default: false Making asynchronous requests allows you to scale your applications more efficiently by leveraging Zuora's infrastructure to enqueue and execute requests for you without blocking. These requests also use built-in retry semantics, which makes them much less likely to fail for non-deterministic reasons, even in extreme high-throughput scenarios. Meanwhile, when you send a request to one of these endpoints, you can expect to receive a response in less than 150 milliseconds and these calls are unlikely to trigger rate limit errors. If set to true, Zuora returns a 202 Accepted response, and the response body contains only a request ID. |
zuora-entity-ids | string An entity ID. If you have Multi-entity enabled and the authorization token is valid for more than one entity, you must use this header to specify which entity to perform the operation on. If the authorization token is only valid for a single entity or you do not have Multi-entity enabled, you do not need to set this header. |
idempotency-key | string Specify a unique idempotency key if you want to perform an idempotent POST or PATCH request. Do not use this header in other request types. This idempotency key should be a unique value, and the Zuora server identifies subsequent retries of the same request using this value. For more information, see Idempotent Requests. |
accept-encoding | string Include a |
content-encoding | string Include a |
Default Response
Bad Request
Unauthorized
Not Found
Method Not Allowed
Too Many Requests
Internal Server Error
Bad Gateway
Service Unavailable
Gateway Timeout
curl --request GET --url https://rest.apisandbox.zuora.com/v2/payment_schedules/8ad08c0f7d0972ea017d0a705e8059ba --header 'Authorization: Bearer 08dacd3fe8b648f6861d5eb506d02a86' --header 'Content-Type: application/json'
{- "id": "8ad09e208992481b018993b265472bcb",
- "updated_by_id": "2c92c0946a6dffc0016a7faab604299b",
- "updated_time": "2023-07-27T09:14:46-07:00",
- "created_by_id": "2c92c0946a6dffc0016a7faab604299b",
- "created_time": "2023-07-26T12:34:49-07:00",
- "custom_fields": {
- "field__c": "custom field value"
}, - "account_id": "8ad09e20896d5f7f018970bbca5d3508",
- "description": "",
- "payment_schedule_number": "PS-00000008",
- "run_hour": 0,
- "total_amount": 0,
- "next_payment_date": "",
- "recent_payment_date": "",
- "state": "canceled",
- "total_payments_errored": 0,
- "total_payments_processed": 0,
- "prepayment": false
}