Adds an orchestration template with a unique name.
Segurança
Bearer
Name of the orchestration template. It must start with 'custom'.
Exemplo:"custom_orchestration_template_v1"
The payment type for which the template is to be used.
Enum:"REGULAR""RETURN""ACCEPT""REVERSAL"
The connector role for which the template is to be used.
Enum:"SENDING""RECEIVING""INTERMEDIARY"
Orchestration template description.
Padrão:""
- Mock serverhttps://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/config/template
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/config/template
curl -i -X POST \
https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/config/template \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "custom_orchestration_template_v1",
"payment_type": "REGULAR",
"connector_role": "SENDING",
"default_template": true,
"orchestration_template_description": "",
"activity_order": [
{
"activity_name": "activity_v1",
"next_activity": [
{
"status": "SUCCESS",
"activity_name": "activity_v1"
}
]
}
]
}'Successfully created orchestration template.
Orchestration template name.
Exemplo:"custom_orchestration_template_v1"
The payment type for which the template is to be used.
Enum:"REGULAR""RETURN""REVERSAL"
The connector role for which the template is to be used.
Enum:"SENDING""RECEIVING""INTERMEDIARY"
Resposta
{ "name": "custom_orchestration_template_v1", "payment_type": "REGULAR", "connector_role": "SENDING", "default_template": true, "orchestration_template_description": "string", "activity_order": [ { … } ] }