The RippleNet Server API provides you the ability to develop custom applications to manage or interact with your RippleNet instance.
Check out the best practices and tutorials.
The RippleNet Server API provides you the ability to develop custom applications to manage or interact with your RippleNet instance.
Check out the best practices and tutorials.
All API operations require a bearer access token for your target environment.<br>Learn how to request the access token.
The RippleNet Server API creates a dynamic [domainPrefix] that consists of {tenant}.{environment}.
Note: This example uses aperture as the tenant. Your tenant ID is different.
| Environment | Domaing Prefix | Domain | Base URL |
|---|---|---|---|
| Test | aperture.test | ripplexcurrent.com | https://aperture.test.ripplexcurrent.com |
| UAT | aperture.uat | ripplexcurrent.com | https://aperture.uat.ripplexcurrent.com |
| Production | aperture.prod | ripplexcurrent.com | https://aperture.prod.ripplexcurrent.com |
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/
https://[domainPrefix].ripplexcurrent.com/v4/
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
| Enum Value | Description |
|---|---|
| SENDER_AMOUNT | Quote based on the amount the payment originator or originating institution wants to send |
| SENDER_INSTITUTION_AMOUNT | Quote based on the amount (to debit the originator) is |
| RECEIVER_AMOUNT | Quote based on the amount the payment beneficiary or beneficiary institution should receive |
| RECEIVER_INSTITUTION_AMOUNT | The amount (to credit the beneficiary) is |
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 rate that the return payment quotes must use.
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.
| Enum Value | Description |
|---|---|
| REAL_TIME_GROSS_SETTLEMENT_SYSTEM | Real-time gross settlement system |
| REAL_TIME_NET_SETTLEMENT_SYSTEM | Real-time net settlement system |
| MASS_NET_PAYMENT_SYSTEM | Mass net payment system |
| BOOK_TRANSFER | Book transfer |
| CASH_PAYOUT | Cash payout |
| WALLET_PAYMENT | Wallet payment |
| OTHER | Other |
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.
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"sender_end_to_end_id": "string",
"internal_id": "string",
"orchestration_template": "string",
"sending_address": "string",
"receiving_address": "string",
"amount": "string",
"currency": "USD",
"quote_type": "SENDER_AMOUNT",
"sender_or_receiver_currency": "USD",
"custom_fee": 0,
"custom_rate": {
"rate": 0,
"base_currency": "str",
"counter_currency": "str",
"rate_type": "string"
},
"quote_route": [
"rn.us.ca.san_francisco",
"rn.us.tx.austin",
"rn.us.ny.new_york"
],
"payment_method": "string",
"enable_quote_per_payout_method": true,
"digital_asset_origination": false,
"force_path_finding_and_liquidity_path_finding": false,
"payout_method_category": "BOOK_TRANSFER",
"user_info": {},
"sender_segregated_account": "conct_php_receiver_coins_sender@receiver",
"quote_limit": 0,
"quote_filter_types": [
"LIQUIDITY_WARNINGS"
]
}'{ "sender_end_to_end_id": "00310000015" }
The page number for paginated results.
The value is zero-based, where 0 represents the first page.
Set it to 0 to get the first page of results.
Attribute to sort the results on.
| Enum: | Sort by |
|---|---|
| CREATED_AT | Created date-time |
| MODIFIED_AT | Modified date-time |
Direction of sorted results based on sort_field.
| Enum: | Description |
|---|---|
| ASC | Sort ascending |
| DESC | Sort descending |
Parameter for filtering with status of the orchestration payment.
| Enum | Description |
|---|---|
| INITIAL | Filter by payments in the initial state |
| RUNNING | Filter by payments in the running state |
| COMPLETED | Filter by completed payments |
| PAUSED | Filter by paused payments |
| FAILURE | Filter by payment failures |
| DECLINED | Filter by declined payments |
| RETRY | Filter by payments that have a retry status |
Range field
Designates the column name of the payments database table that is used for filtering payments before/after/between time stamps.
The following options are valid:
| Range field | Description |
|---|---|
| CREATED_AT | Filter by created date-time |
| MODIFIED_AT | Filter by modified date-time |
Example usage
If you specify range_field = MODIFIED_AT, you need to specify a time stamp (in the 24 character ISO 8601 format used in payment objects: YYYY-MM-DDTHH:mm:ss.sssZ) as the value for before and/or after to fetch payments before, after, or between the specified time range(s) (inclusive).
Dependency: If you specify range_field, you must also specify before and/or after.
Before time stamp
Filters for payments where the range_field column value is before this specified time stamp (inclusive).
You can also specify after to create a time range between after and before.
Dependency: If you specify before, you must also specify range_field.
Example: 2023-10-13T10:16:29.000Z
After time stamp
Filters for payments where the range_field column value is after this specified time stamp (inclusive).
You can also specify before to create a time range between after and before.
Dependency: If you specify after, you must also specify range_field.
Example: 2023-10-13T10:16:29.000Z
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment?page=0&size=10&sort_field=CREATED_AT&sort_direction=ASC&unique_reference_number=string&orchestration_status=INITIAL&range_field=string&before=string&after=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully fetched all orchestration payments.
Sort details of this page
Unique Identifier of the orchestration payment.
Payment ID for the transaction in RippleNet.
Template name used for executing the orchestration payment.
Date and time at which the orchestration payment was created, as an ISO-8601 timestamp in UTC.
{ "first": true, "last": true, "number": 0, "numberOfElements": 0, "size": 0, "totalElements": 0, "totalPages": 0, "sort": [ { … } ], "content": [ { … } ] }
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/{uniqueReferenceNumber}
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/{uniqueReferenceNumber}
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/{uniqueReferenceNumber}' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully returned orchestration payment.
Unique Identifier of the orchestration payment.
Payment ID for the transaction in RippleNet.
Template name used for executing the orchestration payment.
Date and time at which the orchestration payment was created, as an ISO-8601 timestamp in UTC.
{ "uuid": "5492648d-2132-4e70-9ded-2fc86f22b321", "unique_reference_number": "00310000015", "sender_end_to_end_id": "00310000015", "payment_type": "REGULAR", "connector_role": "SENDING", "payment_id": "26bf269b-1a2b-c3d4-872a-7f18d7dcf9f2", "payment_status": "SUCCESS", "previous_payment_status": "EXECUTED", "orchestration_template": "default_template", "orchestration_status": "RUNNING", "current_activity": "get_quote_v1", "current_activity_status": "SUCCESS", "initial_context": {}, "current_context": {}, "error_message": {}, "activity_list": {}, "created_at": "2018-04-06T20:33:35Z", "modified_at": "2018-04-06T20:33:35Z" }
Unique ID that the sender can specify.
Unique ID of the payment that should be returned.
Amount type of the return payment.
| 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.
Custom rate that the return payment quotes must use.
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.
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/return
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/return
curl -i -X POST \
https://docs.ripple.com/_mock/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": {}
}'{ "sender_end_to_end_id": "00310000015" }
Unique ID that the sender can specify.
Persisted on all instances that participate in the payment.
Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending RippleNet instance stores this ID.
ID of the quote to accept and continue as a payment.
Parameter for the orchestration template name.
If you don't provide a template, a default template will be picked.
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/accept
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/accept
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/accept \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"sender_end_to_end_id": "string",
"internal_id": "string",
"quote_id": "5492648d-2132-4e70-9ded-2fc86f22b321",
"orchestration_template": "string",
"user_info": {}
}'{ "sender_end_to_end_id": "00310000015" }
Unique ID that the sender can specify.
Unique ID of the payment that should be reversed.
A structured object detailing reasons for a payment reversal.
The code indicating the reason for payment reversal.
| Enum Value | Description |
|---|---|
| RB001 | The account number structure is valid but the account number does not correspond to the individual identified in the payment. <br /><br />This error typically occurs because the Originator specified the Beneficiary's account number incorrectly while initiating the payment.<br/><br/><b>Error handling</b><br/>The Sending Member may introduce prompts in the user interface during payment initiation to ensure that the Originator validates the Beneficiary's account number. |
| RB002 | The Sender has requested Receiver for return of the payment.<br /><br />This error typically occurs in business scenarios where the Originator contacts the Sending Member to indicate that they (the Originator) provided incorrect account information.<br/><br/><b>Error handling</b><br/>The Sending Member must contact the Receiving Member and obtain agreement that the payment should be returned. After obtaining agreement, the Receiving Member can initiate the return of the payment. |
| RB003 | The funds for the payment have not been collected by the Beneficiary within the set period.<br/><br/><b>Error handling</b><br/>The Originator must inform the Beneficiary that they should collect the funds within the prescribed time frame. <br /><br />The Receiving Member may also contact the Beneficiary to inform them of pending or uncollected funds. <br />Further, the Receiving Member must ensure that the Sending Member includes the Beneficiary's contact information in the RippleNet Payment Object. |
| RB004 | Beneficiary's account is frozen due to specific action taken by the Receiver or by legal action. <br /><br /> This error typically occurs when the Beneficiary's bank has frozen the account due to suspected misuse, or on the Beneficiary's request.<br/><br/><b>Error handling</b><br/>The Originator may contact the Beneficiary for alternative account information or to agree on an alternative payment mechanism. |
| RB005 | The Receiver has returned the payment due to one of the following reasons: <br /><br /><ul><li>The exact amount required has not been remitted. </li><li>Acceptance of the transaction results in an overpayment.</li></ul><br/><br/><b>Error handling</b><br/>In case of a technical or human error, the Sending Member or the Originator must adapt their internal RippleNet payment initiation process to ensure they do not transfer the incorrect amount. <br /><br />The Beneficiary may contact the Originator and ask them to initiate a payment for the exact amount. |
| RB008 | Invalid account title or name prefix. <br /><br />This error typically occurs when the Beneficiary's title or name specified in the payment does not match the information associated with their account.<br/><br/><b>Error handling</b><br/>In case of a technical or human error, the Sending Member or the Originator must adapt their internal RippleNet payment initiation process to ensure they do not provide the incorrect Beneficiary title or name. <br /><br />If the Beneficiary provided incorrect information, the Originator may contact the Beneficiary to obtain the correct information. |
| RB009 | Beneficiary's account is dormant. <br /><br />This error typically occurs because the Beneficiary's Bank has marked the account as dormant due to a lack of activity or financial transactions on the account.<br/><br/><b>Error handling</b><br/>The Originator may contact the Beneficiary for alternative account information or to agree upon a different payment mechanism. |
| RB010 | The minimum amount required has not been remitted. <br /><br />This error typically occurs because the Originator has initiated payment for an amount that is lower than the intended amount that they previously agreed upon with the Beneficiary.<br/><br/><b>Error handling</b><br/>In case of technical or human error, the Sending Member or the Originator must adapt their internal RippleNet payment initiation process to ensure they do not specify incorrect amounts. |
| RB011 | The account is subject to litigation. <br /><br />This error typically occurs because the Beneficiary's Bank has frozen the account due to legal reasons, or under suspicion of misuse, or on the Beneficiary's request.<br/><br/><b>Error handling</b><br/>The Originator may contact the Beneficiary for alternative account information or to agree upon a different payment mechanism. |
| RB012 | The Originator is not known to the Recipient or Beneficiary.<br/><br/><b>Error handling</b><br/>In case of technical or human error, the Sending Member or the Originator must adapt their internal RippleNet payment initiation process to ensure they do not initiate payments to unknown or unintended Beneficiary accounts. |
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/reversal
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/reversal
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/reversal \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"sender_end_to_end_id": "string",
"original_payment_id": "string",
"reversal_reason": {
"code": "RB001",
"description": "No account / Unable to locate account"
}
}'{ "sender_end_to_end_id": "00310000015" }
Range Field
Designates the column name of the notifications database table that is used for filtering notifications before/after/between time stamps.
The following options are valid:
| Range field | Description |
|---|---|
| CREATED_AT | Filter by created date-time |
| MODIFIED_AT | Filter by modified date-time |
Example usage
If you specify range_field = MODIFIED_AT, you need to specify a time stamp (in the 24 character ISO 8601 format used in notifications objects: YYYY-MM-DDTHH:mm:ss.sssZ) as the value for before and/or after to fetch notifications before, after, or between the specified time range(s) (inclusive).
Dependency: If range_field is specified, before and/or after must also be specified.
Before time stamp
Filters for notifications where the notifications range_field column value is before this specified time stamp (inclusive).
You can also specify after to create a time range between after and before.
Dependency: If you specify before, you must also specify range_field.
Example: 2023-10-13T10:16:29.000Z
After time stamp
Filters for notifications where the notifications range_field column value is after this specified time stamp (inclusive).
You can also specify before to create a time range between after and before.
Dependency: If you specify after, you must also specify range_field.
Example: 2023-10-13T10:16:29.000Z
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/notification
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification?status=NEW&size=10&delay_time=30&range_field=string&before=string&after=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully fetched orchestration payment notifications list.
Unique Identifier of the orchestration payment notification.
Date and time at which the message was created, as an ISO-8601 timestamp in UTC.
Date and time at which the message was modified, as an ISO-8601 timestamp in UTC.
[ { "uuid": "5492648d-2132-4e70-9ded-2fc86f22b321", "notification_type": "PAYMENT_SUCCESS", "notification_version": 1, "notification_status": "NEW", "notification_payload": {}, "created_at": "2018-04-06T20:33:35Z", "modified_at": "2018-04-06T20:33:35Z" } ]
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification/urn/{uniqueReferenceNumber}
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/notification/urn/{uniqueReferenceNumber}
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification/urn/{uniqueReferenceNumber}' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully fetched orchestration payment notifications.
Unique Identifier of the orchestration payment notification.
Date and time at which the message was created, as an ISO-8601 timestamp in UTC.
Date and time at which the message was modified, as an ISO-8601 timestamp in UTC.
[ { "uuid": "5492648d-2132-4e70-9ded-2fc86f22b321", "notification_type": "PAYMENT_SUCCESS", "notification_version": 1, "notification_status": "NEW", "notification_payload": {}, "created_at": "2018-04-06T20:33:35Z", "modified_at": "2018-04-06T20:33:35Z" } ]
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification/{uuid}
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/notification/{uuid}
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification/{uuid}' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "uuid": "5492648d-2132-4e70-9ded-2fc86f22b321", "notification_type": "PAYMENT_SUCCESS", "notification_version": 1, "notification_status": "NEW", "notification_payload": {}, "created_at": "2018-04-06T20:33:35Z", "modified_at": "2018-04-06T20:33:35Z" }
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification/{uuid}/ack
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/notification/{uuid}/ack
curl -i -X PUT \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification/{uuid}/ack' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully updated orchestration payment notification status.
Unique Identifier of the orchestration payment notification.
Date and time at which the message was created, as an ISO-8601 timestamp in UTC.
{ "uuid": "5492648d-2132-4e70-9ded-2fc86f22b321", "notification_type": "PAYMENT_SUCCESS", "notification_version": 1, "notification_status": "NEW", "notification_payload": {}, "created_at": "2018-04-06T20:33:35Z", "modified_at": "2018-04-06T20:33:35Z" }
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification/ack
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/notification/ack
curl -i -X PUT \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/notification/ack \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"uuids": [
"328b3e50-7983-46d5-94a0-ef004d78db1d"
]
}'Successfully acknowledged orchestration payment notifications.
List of responses of acknowledged orchestration payment notifications.
Unique Identifier of the orchestration payment notification.
Date and time at which the message was created, as an ISO-8601 timestamp in UTC.
{ "notification_ack_list": [ { … } ], "invalid_uuid_list": [ "328b3e50-7983-46d5-94a0-ef004d78db1d" ] }
Set to the unique reference number associated with the payment.
Activity status
| Enum Value | Description |
|---|---|
| SUCCESS | Set status to success |
| FAILURE | Set status to failure Use with the |
| DECLINED | Set status to declined Use with the |
| REDO | Set status to redo |
| SUBSTATE | Set status to substate |
| NOTIFY | Set status to notify |
| PENDING | Set status to pending |
| SUBTASK | Set status to subtask |
Activity context name.
Use with the status parameter to define the action.
Recommended values:
| Value | Notification type |
|---|---|
| CONFIRM_LOCK | Confirm the lock |
| CONFIRM_SETTLE | Confirm settlement |
| CONFIRM_COMPLETE | Confirm completion |
| PARTNER_SUBSTATE | Notify on partner substate<br/><br/>Use with output.sub_state to provide additional information. |
Use this object when notification_type is PARTNER_SUBSTATE.
For all other values of notification_type, this property can be null.
Free-form string that describes a sub-state of the payment while it is in the EXECUTED state, for example, FORWARDED or AWAITING_COLLECTION.
Displays as a label value in the labels array.
Also displays as the key value in the receiving node's user_info.executed array.
Free-form details that describe the sub_state of the payment, for example, with courier heading to payout location.
Displays as the value value in the receiving node's user_info.executed array.
Array of one or more activity error objects.
When status is FAILURE or DECLINED, use this to fail a payment or decline a request to lock a payment.
For all other status values, this property can be null.
For recommended type values, see Returns and failure codes.
For recommended failure codes, see Returns and failure codes.
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/action
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/action
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/payment/action \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"unique_reference_number": "310000015",
"status": "SUBSTATE",
"notification_type": "PARTNER_SUBSTATE",
"output": {
"sub_state": "AMENDED",
"memo": "Last name must be corrected",
"info": {
"last_name": "Gonzales"
}
},
"error": "null"
}'{ "unique_reference_number": "00310000015" }
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/info
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/info
curl -i -X GET \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/info \
-H 'Authorization: YOUR_API_KEY_HERE'{ "name": "Integration Module", "version": "1.2.0" }