Creates a payment expiration window, or time to live (ttl), in seconds.
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.
RippleNet address of the sender, in the format ripplenetaddress. For example, rn.us.sf.san_francisco.
RippleNet address of the receiver, in the format ripplenetaddress. For example, rn.us.ny.new_york.
- Mock serverhttps://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/config/payments/payment_expiries
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/config/payments/payment_expiries
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/config/payments/payment_expiries \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"payment_ttl": 5900,
"sending_partner": "rn.us.ca.san_francisco",
"receiving_partner": "rn.us.tx.austin",
"currency": "USD"
}'Successfully created the payment expiration window.
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.
RippleNet address of the sender, in the format ripplenetaddress. For example, rn.us.sf.san_francisco.
RippleNet address of the receiver, in the format ripplenetaddress. For example, rn.us.ny.new_york.
{ "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" }