---
title: "Get payment expiries"
method: GET
path: "/config/payments/payment_expiries"
tags: ["Payment expiration"]
---

# Get payment expiries

`GET /config/payments/payment_expiries`

Returns all configured payment expiries.

## Query parameters

- `page` integer
- `size` integer

## Response `200`

Successful response

- PaymentExpiries — Provides a `content` array of payment expiry objects and a set of pagination information fields.
  - `first` boolean — true if this is the first page.
  - `last` boolean — true if this is the last page.
  - `number` integer — page number
  - `numberOfElements` integer — Number Of elements in this request
  - `size` integer — page size
  - `totalElements` integer — Total number of elements for the given request
  - `totalPages` integer — Total number of pages for the given request
  - `sort` Sort[] — Sort details of this page
    - `direction` string — Direction of the sort
    - `property` string
    - `ignoreCase` boolean
    - `nullHandling` string
    - `ascending` boolean
    - `descending` boolean
  - `content` PaymentExpiryResponse[]
    - `payment_ttl` number — Payment expiration window, or time to live (ttl), in seconds. To calculate the payment expiration date, xCurrent adds this value to the payment creation timestamp.
    - `sending_partner` string — RippleNet address of the sender, in the format `ripplenetaddress`. For example, `rn.us.sf.san_francisco`.
    - `receiving_partner` string — RippleNet address of the receiver, in the format `ripplenetaddress`. For example, `rn.us.ny.new_york`.
    - `currency` string — currency of the exchange rate.
    - `expiry_id` string, uuid — id of payment expiry object

## Other responses

- `400` — Bad request.

---

[API](https://skmtc.net/ripple/apis/ripplenet-server-api.md) · [All operations](https://skmtc.net/ripple/apis/ripplenet-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ripple/ripplenet-server-api/versions/7843f07ca150/schema)
