Posts action into the Orchestration service.
Security
Bearer
Set to the unique reference number associated with the payment.
Example:"310000015"
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 |
Example:"SUBSTATE"
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 Use with output.sub_state to provide additional information. |
Example:"PARTNER_SUBSTATE"
Use this object when notification_type is PARTNER_SUBSTATE.
For all other values of notification_type, this property can be null.
- Mock serverhttps://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/v4/orchestration/payment/action
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/payment/action
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/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"
}'Response
{ "unique_reference_number": "00310000015" }