Pular para o conteúdo

Platform accounts

Use these operations to configure your RippleNet platform accounts.

OperationMethodDescription
Create platformPOSTCreates a RippleNet platform that represents a financial entity that holds accounts in the real world. For example, a Bank, Exchange, or Wallet provider.
Get all platformsGETReturns a list of all active RippleNet platforms.
Get platform by platform IDGETGet a RippleNet platform by its platform ID.
Update platformPUTUpdates a RippleNet platform.
Delete platform by platform IDDELETEDeletes a RippleNet platform by its platform ID.
Create platform accountPOSTCreates a RippleNet platform account, which represents a real-world account owned by a financial entity.
Get platform accountsGETReturns a paged list of all active RippleNet platform accounts.
Get platform account by platform account IDGETGets a RippleNet platform account by its platform account ID.
Update platform accountPUTUpdates a RippleNet platform account.
Delete platform account by platform account IDDELETEDeletes a RippleNet platform account by its platform account ID.
Get platform accounts balancesGETGet balances for local Platform Accounts
Get platform account statementGETGet statement for a specified Platform Account

Create platform

Requisição

Creates a RippleNet platform, which represents a financial entity that holds accounts in the real world (e.g. Bank, Exchange or Wallet provider). This operation creates a database record for a platform account on a RippleNet node.

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

Name of the platform.

platform_typestringobrigatório

The type of institution this platform represents (WALLET_PROVIDER, FIAT_INSTITUTION, or DIGITAL_EXCHANGE).

Enum:"WALLET_PROVIDER""FIAT_INSTITUTION""DIGITAL_EXCHANGE"
descriptionstring, <= 512 characters

A short description of the platform.

institutionstringobrigatório

Name of the institution this platform represents.

servicer_codestringobrigatório

Akin to the routing number (US), Sort Code (UK), or IFSC code (India).

curl -i -X POST \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/config/platforms \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "platform_type": "WALLET_PROVIDER",
    "description": "string",
    "institution": "string",
    "servicer_code": "string"
  }'

Respostas

Successfully created RippleNet platform.

Corpoapplication/json
platform_idstring, (uuid)

Unique identifier for the RippleNet platform.

namestring

Name of the RippleNet platform.

platform_typestring

The type of institution this RippleNet platform represents (WALLET_PROVIDER, FIAT_INSTITUTION, or DIGITAL_EXCHANGE).

Enum:"WALLET_PROVIDER""FIAT_INSTITUTION""DIGITAL_EXCHANGE"
descriptionstring, <= 512 characters

A short description of the RippleNet platform.

institutionstring

Name of the institution this RippleNet platform represents.

servicer_codestring

Akin to the routing number (US), Sort Code (UK), or IFSC code (India).

Resposta
{ "platform_id": "f41a0584-7f4a-481e-9327-001efe2ebd2c", "name": "string", "platform_type": "WALLET_PROVIDER", "description": "string", "institution": "string", "servicer_code": "string" }