Updates the time to live (ttl) of a payment expiry 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/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/config/payments/payment_expiries/{payment_expiry_id}
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/config/payments/payment_expiries/{payment_expiry_id}
curl -i -X PUT \
'https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/config/payments/payment_expiries/{payment_expiry_id}' \
-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 updated payment expiry.
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" }