v1

latestOpenAPI 3.0.02026-08-06102185472.3 KB
Quote expiration

Get quote expiry

Gets the time to live (ttl) of a quote expiry in seconds.

get/config/payments/quote_expiries/{quote_expiry_id}

Path parameters

quote_expiry_idinteger required

The ID of the quote expiry you want returned.

Response

Successfully returned a quote expiry.

quote_ttlnumber

Quote expiration window, or time to live (ttl), in seconds. To calculate the quote expiration date, xCurrent adds this value to the quote creation timestamp.

sending_partnerstring

RippleNet address of the sender, in the format ripplenetaddress. For example, rn.us.sf.san_francisco.

receiving_partnerstring

RippleNet address of the receiver, in the format ripplenetaddress. For example, rn.us.ny.new_york.

currencystring

currency of the exchange rate.

idinteger

id of quote expiry object

Example response

{
  "quote_ttl": 5900,
  "sending_partner": "rn.us.ca.san_francisco",
  "receiving_partner": "rn.us.tx.austin",
  "currency": "USD",
  "id": 2
}