Pular para o conteúdo

Create SSA configuration

Requisição

Creates a Sender Segregated Account (SSA) configuration. A SSA configuration contains funds from returns and failed payments that have been pushed forward.

Segurança
Bearer
Corpoapplication/jsonobrigatório
ssa_accountstringobrigatório

RippleNet address of the SSA account

source_accountstringobrigatório

RippleNet address of the host used to fund the ssa_account

ssa_currencystringobrigatório

Currency code of the SSA account

payment_sender_hoststring

RippleNet host address of the payment sender for which this SSA config should apply. This field is marked optional but is mandatory if you have multiple senders requiring ssa config for same currency

curl -i -X POST \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/config/ssa_config \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "ssa_account": "string",
    "source_account": "string",
    "ssa_currency": "string",
    "payment_sender_host": "string"
  }'

Respostas

Successfully created Sender Segregated Account (SSA) configuration.

Corpoapplication/json
ssa_accountstring

RippleNet address of the SSA account

source_accountstring

RippleNet address of the host used to fund the ssa_account

ssa_currencystring

Currency code of the SSA account

ssa_config_idstring, (uuid)

Unique identifier for the SSA configuration record

payment_sender_hoststring

RippleNet host address of the payment sender for which this SSA config should apply

Resposta
{ "ssa_account": "string", "source_account": "string", "ssa_currency": "string", "ssa_config_id": "3f91872c-024e-4642-8e8d-c148c44a0d17", "payment_sender_host": "string" }