raims webhook-event-types
Inspect supported webhook event types
From command to result
Read the API catalog before registering or updating webhook events. Use the returned names instead of keeping an outdated private list.
Configure the profile and credential before running real reads. With an API
key, the key determines the company and environment. --environment selects
an environment only for OAuth.
Read event types
Shellraims --profile sandbox --output json webhook-event-types listThe response contains the catalog in
data.list. Choose the events needed by your integration.Prepare the subscription
Shellraims webhooks create --name "Pedidos pagos" --url https://webhooks.example.com/raims --events charge.paid --events refund.completed --dry-runRepeat
--eventsfor each item. The URL is illustrative and the preview neither registers nor tests the endpoint. Continue to webhooks.
Choose a command
| Command | Purpose |
|---|---|
raims webhook-event-types list | List supported webhook event types |
The previews below use --dry-run and do not send the request. Replace placeholders and review the result before sending a write.
Body fields, filters, and headers are sent only when supplied. Execution option defaults do not fill API fields.
raims webhook-event-types
Inspect supported webhook event types
raims webhook-event-types [flags]Execution options
--help,-hbooldefault: false- help for webhook-event-types
See global options.
Subcommands: raims webhook-event-types list.
raims webhook-event-types list
List supported webhook event types
raims webhook-event-types list [flags]OAuth environments: Sandbox, Production. Success responses: 200.
Example
raims --profile PROFILE --output json webhook-event-types list --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
List available events
{
"list": [
{
"code": "charge.created"
},
{
"code": "charge.paid"
},
{
"code": "charge.canceled"
},
{
"code": "charge.failed"
},
{
"code": "refund.requested"
},
{
"code": "refund.completed"
},
{
"code": "refund.failed"
}
]
}Execution options
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for list
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
See global options.
List supported webhook event types.
GET /v1/webhook_event_types
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Sandbox, Production.