Create one or more new webhook subscription
Segurança
TokenAuth
- Mock serverhttps://docs.ripple.com/_mock/pt-br/products/wallet/api-docs/palisade-api/palisade-api/v2/webhooks/{webhookId}/subscriptions
- Sandbox server (uses TESTNET data, private keys and accounts)https://api.sandbox.palisade.co/v2/webhooks/{webhookId}/subscriptions
- Palisade server (uses MAINNET data, private keys and accounts)https://api.palisade.co/v2/webhooks/{webhookId}/subscriptions
curl -i -X POST \
'https://docs.ripple.com/_mock/pt-br/products/wallet/api-docs/palisade-api/palisade-api/v2/webhooks/{webhookId}/subscriptions' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '[
{
"domain": "TRANSACTION",
"scope": "ORG"
}
]'Array []
The ID of the user who created this webhook
Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
The date and time the webhook was created
Exemplo:"2022-03-29T10:22:22.420Z"
The ID of the user who updated this webhook
Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
The date and time the webhook was updated
Exemplo:"2022-03-29T10:22:22.420Z"
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": { … } } ]