Returns the orchestration payment with customer end-to-end ID.
Segurança
Bearer
Unique ID that the sender can specify.
Unique ID of the payment that should be returned.
Amount type of the return payment.
Padrão:"TOTAL_RECEIVED"
| Enum Value | Description |
|---|---|
| TOTAL_RECEIVED | Indicates that the sender of the return payment will send the amount they received |
| TOTAL_RECEIVED_MINUS_FEES | Indicates that the sender of the return payment will send the amount they received minus the receiving fees |
Custom fee charged and collected by the sending account.
Setting this field overrides all applicable fees configured on the sender's RippleNet instance.
When true, this flag tells RippleNet to ignore cached value for path finding and liquidity path finding.
Forces performing new path finding and liquidity path finding.
Padrão:false
Exemplo:false
- Mock serverhttps://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/return
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/return
curl -i -X POST \
https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/return \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"sender_end_to_end_id": "string",
"original_payment_id": "string",
"return_reasons": {},
"return_amount_type": "TOTAL_RECEIVED",
"custom_fee": 0,
"custom_rate": {
"rate": 0,
"base_currency": "str",
"counter_currency": "str",
"rate_type": "string"
},
"force_path_finding_and_liquidity_path_finding": false,
"user_info": {}
}'Resposta
{ "sender_end_to_end_id": "00310000015" }