Pular para o conteúdo

Accept orchestration payment

Requisição

Accepts the orchestration payment with customer end-to-end ID and Quote 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.

Persisted on all instances that participate in the payment.

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

Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending RippleNet instance stores this ID.

quote_idstring, (uuid)obrigatório

ID of the quote to accept and continue as a payment.

Exemplo:"5492648d-2132-4e70-9ded-2fc86f22b321"
orchestration_templatestring, [ 1 .. 64 ] characters^[a-zA-Z0-9_-]*$

Parameter for the orchestration template name.

If you don't provide a template, a default template will be picked.

user_infoobjectobrigatório

provide one or more arbitrary key/value pairs.

curl -i -X POST \
  https://docs.ripple.com/_mock/pt-br/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": {}
  }'

Respostas

Successfully accepted orchestration payment.

Corpoapplication/json
sender_end_to_end_idstring

Sender end-to-end ID.

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