Pular para o conteúdo

Get subscriptions

Requisição

Get a single subscription based on its ID

Segurança
TokenAuth
Caminho
webhookIdstringobrigatório

The webhook ID

subscriptionIdstringobrigatório

The subscription ID

curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/wallet/api-docs/palisade-api/palisade-api/v2/webhooks/{webhookId}/subscriptions/{subscriptionId}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Corpoapplication/json
idstringobrigatório

The webhook subscription ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
webhookIdstringobrigatório

The webhook ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
createdBystringobrigatório

The ID of the user who created this webhook

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
createdAtstring, (date-time)obrigatório

The date and time the webhook was created

Exemplo:"2022-03-29T10:22:22.420Z"
updatedBystringobrigatório

The ID of the user who updated this webhook

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
updatedAtstring, (date-time)obrigatório

The date and time the webhook was updated

Exemplo:"2022-03-29T10:22:22.420Z"
configobject(v2SubscriptionConfig)obrigatório

The configuration for the webhook subscription

Exemplo:
{ "domain": "TRANSACTION", "scope": "ORG" }
Resposta
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "webhookId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "updatedAt": "2022-03-29T10:22:22.420Z", "config": { "domain": "TRANSACTION", "scope": "ORG" } }