Accepts a request for payment.
- Mock serverhttps://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/request_for_payment/{request_for_payment_id}/accept
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/request_for_payment/{request_for_payment_id}/accept
curl -i -X POST \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/request_for_payment/{request_for_payment_id}/accept' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"payment_id": "1bf93760-ef69-4697-b2b4-47d9e1c42aa7",
"user_info": {}
}'Successfully accepts a request for payment resulting in a request for payment object in the ACCEPTED state.
Unique identifier of a request for payment.
State of the request for payment.
RippleNet address of the node that is receiving the request for payment, or the eventual sender of the payment.
RippleNet address of the node that is sending the request for payment, or the eventual receiver of the payment.
Indicates how the amount field should be treated for calculating quote values.
ID that the eventual payment receiver can specify. Persisted on all rippleNet Node instances (namely, the sender and receiver of the payment) that participate in the request for payment.
Date and time at which the request for payment was created, as an ISO-8601 timestamp in UTC.
{ "request_for_payment_id": "1bf93760-ef69-4697-b2b4-47d9e1c42aa7", "request_for_payment_state": "REQUESTED", "sender_address": "trans_usd_sf@rn.us.ca.san_francisco", "receiver_address": "trans_gbp_lon@rn.eur.uk.london", "amount": 100.01, "currency": "USD", "quote_type": "SENDER_AMOUNT", "end_to_end_id": "string", "user_info": [ { … } ], "created_at": "2019-08-24T14:15:22Z", "payment_id": "5492648d-2132-4e70-9ded-2fc86f22b321" }