Pular para o conteúdo

Reverse orchestration payment

Requisição

Reverses the orchestration payment with customer end-to-end ID.

Segurança
Bearer
Corpoapplication/jsonobrigatório
sender_end_to_end_idstring, [ 1 .. 64 ] characters^[a-zA-Z0-9@_,:\s-]*$obrigatório

Unique ID that the sender can specify.

original_payment_idstring, [ 1 .. 64 ] characters^[a-zA-Z0-9@_,:\s-]*$obrigatório

Unique ID of the payment that should be reversed.

reversal_reasonobjectobrigatório

A structured object detailing reasons for a payment reversal.

curl -i -X POST \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/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"
    }
  }'

Respostas

Successfully returned orchestration payment.

Corpoapplication/json
sender_end_to_end_idstring

Sender end-to-end ID.

Exemplo:"00310000015"
Resposta
{ "sender_end_to_end_id": "00310000015" }