v1

latestOpenAPI 3.0.02026-08-06102185472.3 KB
Payment expiration

Get payment expiry by ID

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

get/config/payments/payment_expiries/{payment_expiry_id}

Path parameters

payment_expiry_idstring uuid required

The ID of the payment expiry you want returned.

Response

Successfully returned a payment expiry.

payment_ttlnumber

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_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.

expiry_idstring uuid

id of payment expiry object

Example response

{
  "payment_ttl": 5900,
  "sending_partner": "rn.us.ca.san_francisco",
  "receiving_partner": "rn.us.tx.austin",
  "currency": "USD",
  "expiry_id": "4711728c-cd35-49ec-96a5-72732b4333ec"
}