Pular para o conteúdo

Get quote expiration

Requisição

Gets the configured quote expiration window, or time to live (ttl), in seconds.

Segurança
Bearer
curl -i -X GET \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/config/payments/quote_expiry \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Successfully returned the quote expiration window.

Corpoapplication/json
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.

Exemplo:5900
sending_partnerstring

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

Exemplo:"rn.us.ca.san_francisco"
receiving_partnerstring

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

Exemplo:"rn.us.tx.austin"
currencystring

currency of the exchange rate.

Exemplo:"USD"
idinteger

id of quote expiry object

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