v1
latestOpenAPI 3.0.02026-08-06102185472.3 KBCreate orchestration payment
Creates an orchestration payment.
Request body
Unique ID that the sender can specify.
Persisted on all instances that participate in the payment.
[Sender only]
Internal ID that the sender can optionally specify.
Only visible to the sender. Only the sending RippleNet instance stores this ID.
Parameter for the orchestration template name.
If you don't specify a template name, a default template will be picked.
RippleNet account name and address of the sender.
Format: accountname@ripplenetaddress
Example: new_york@rn.us.ny.new_york
RippleNet account name and address of the receiver.
Format: accountname@ripplenetaddress
Example: new_york@rn.us.ny.new_york
Amount to be sent or received, depending on the quote_type.
Use this table to determine what amount to assign.
Example: "1"
| Quote type | Amount |
|---|---|
| SENDER_AMOUNT | Amount to be sent by the payment originator |
| SENDER_INSTITUTION_AMOUNT | Set to SENDER_INSTITUTION_AMOUNT to calculate the quote based on the amount to be sent, plus any fees collected by the sending institution |
| RECEIVER_AMOUNT | Amount to be received by the payment beneficiary |
| RECEIVER_INSTITUTION_AMOUNT | Set to RECEIVER_INSTITUTION_AMOUNT to calculate the quote based on the amount to be received, minus any fees collected by the receiving institution |
Currency code of the amount to be sent or received, depending on the quote_type.
Use this table to determine what currency code to assign.
Example: USD
| Quote type | Currency code description |
|---|---|
| SENDER_AMOUNT | Specify the currency code for the sending currency, for example USD |
| SENDER_INSTITUTION_AMOUNT | Specify the currency code for the sending currency, for example USD |
| RECEIVER_AMOUNT | Specify the currency code for the receiving currency, for example USD |
| RECEIVER_INSTITUTION_AMOUNT | Specify the currency code for the receiving currency, for example USD |
Specifies how to calculate the quote.
Example: SENDER_AMOUNT
Currency code of the sender or receiver based on quote_type.
If provided, you can use this to filter the options for quotes.
Example: USD
Custom fee for the sending account.
Setting this field overrides all fees configured on the sender's RippleNet instance.
Custom route that quote must follow.
Provide an array of RippleNet address strings that convey the route the quote must follow.
Example: g.us.ca.san_francisco
Use this field, when using ODL, to indicate the type of fees to apply.
When testing, set "payment_method": "none" to ensure funds remain at the destination exchange and are not paid out to a local rail.
Enable this flag to generate quotes using payout methods configured by the receiver.
When true, this flag tells RippleNet to provide a full quote as if the payment originates in the specified source fiat currency.
The quote for the source exchange excludes trading fees.
On execution, the source exchange trade is skipped, and XRP is withdrawn from the source exchange as the first step.
When true, this flag tells RippleNet to ignore cached value for path finding and liquidity path finding.
Force performing new path finding and liquidity path finding.
Category the payout method will be associated with.
Provide one or more arbitrary key/value pairs.
RippleNet account name and address of the sender owned account at receiver to be used for failure conversion (in case of payment failure).
Format: accountname@ripplenetaddress
Example: new_york@rn.us.ny.new_york
Flag for truncating the total amount of quotes to a maximum amount after sorting and filters are applied.
Filter on a type of quote.
Example request
{
"currency": "USD",
"quote_type": "SENDER_AMOUNT",
"sender_or_receiver_currency": "USD",
"quote_route": [
"rn.us.ca.san_francisco",
"rn.us.tx.austin",
"rn.us.ny.new_york"
],
"enable_quote_per_payout_method": true,
"payout_method_category": "BOOK_TRANSFER",
"sender_segregated_account": "conct_php_receiver_coins_sender@receiver"
}Response
Successfully created orchestration payment.
Sender end-to-end ID.
Example response
{
"sender_end_to_end_id": "00310000015"
}