Pular para o conteúdo

Orchestration internal action

Post action to orchestration internal

Requisição

Posts internal action the Orchestration internal service.

Segurança
Bearer
Corpoapplication/jsonobrigatório
payment_idstring, (uuid)obrigatório

Unique identifier of a payment.

payment_statusstringobrigatório

Payment state.

Enum:"PENDING""QUOTED""ACCEPTED""LOCKED""LOCK_DECLINED""PREPARED""SETTLEMENT_DECLINED""EXECUTED""EXPIRED""FAILED"
curl -i -X POST \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/internal/action \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "payment_id": "d43b87f9-9e28-4802-8eaa-6ee91a40ea71",
    "payment_status": "PENDING"
  }'

Respostas

Successfully posted internal action.

Corpo*/*
unique_reference_numberstring

Unique Reference Number.

Exemplo:"00310000015"
Resposta
{
  "unique_reference_number": "00310000015"
}