Endpoints for authentication
Ripple Collections (1.0.0)
The Ripple Collection APIs are used to manage collections, manage payment channels, manage partners and settlements.
The Ripple Collection APIs offers the following environments:
Environment | Base URL | Description |
|---|---|---|
| Sandbox | https://docs.ripple.com/products/collections/_mock/api/collections | Sandbox environment with mock data which does not require auth. |
| UAT | https://api.test.ripple.com | UAT environment with simulated transactions. |
| Production | https://api.ripple.com | Production environment |
For guides on API authentication, idempotency, and webhook verification, see the sidebar.
Unique identifier event type to filter webhooks
ISO 8601 timestamp after webhook was created
ISO 8601 timestamp before webhook was created
- Mock serverhttps://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks
- https://api.test.ripple.com/v1/collections/webhooks
- https://api.ripple.com/v1/collections/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks?event_type=TRANSACTION_STATUS_CHANGED&since=2025-06-17T12%3A00%3A00Z&until=2025-06-17T12%3A00%3A00Z&page=1&size=10' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "content": [ { … } ], "page": { "page": 1, "size": 10, "total_elements": 100, "total_pages": 10 } }
HTTPS URL to POST events to.
- Mock serverhttps://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks
- https://api.test.ripple.com/v1/collections/webhooks
- https://api.ripple.com/v1/collections/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"callback_url": "https://webhook.partner.example/webhooks",
"event_types": [
"WALLET_ADDRESS_CREATED",
"SETTLEMENT_COMPLETED"
]
}'Webhooks created (one per event type)
Unique identifier for the webhook.
Event type for which a webhook can be created.
HTTPS URL to which events will be sent.
Hex-encoded public key used to verify webhook signatures.
[ { "id": "5c0d9ec9-5ad8-4a43-a1b4-6f8f1f6c4c10", "event_type": "WALLET_ADDRESS_CREATED", "callback_url": "https://webhook.partner.example/webhooks", "signature_verification_key": "9abc1234..." }, { "id": "1c9fe6fd-1dd8-4e9a-8de2-7f4c89b4d210", "event_type": "SETTLEMENT_COMPLETED", "callback_url": "https://webhook.partner.example/webhooks", "signature_verification_key": "1def5678..." } ]
- Mock serverhttps://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks/{webhook_id}
- https://api.test.ripple.com/v1/collections/webhooks/{webhook_id}
- https://api.ripple.com/v1/collections/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks/5c0d9ec9-5ad8-4a43-a1b4-6f8f1f6c4c10 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Webhook found
Unique identifier for the webhook.
Event type for which a webhook can be created.
HTTPS URL to which events will be sent.
{ "id": "5c0d9ec9-5ad8-4a43-a1b4-6f8f1f6c4c10", "event_type": "WALLET_ADDRESS_CREATED", "callback_url": "https://webhook.partner.example/webhooks", "signature_verification_key": "04bfcabf3c3e5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8" }
- Mock serverhttps://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks/{webhook_id}
- https://api.test.ripple.com/v1/collections/webhooks/{webhook_id}
- https://api.ripple.com/v1/collections/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks/5c0d9ec9-5ad8-4a43-a1b4-6f8f1f6c4c10 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"callback_url": "https://webhook-updated.partner.example/webhooks"
}'Updated webhook id
Unique identifier for the webhook.
Event type for which a webhook can be created.
HTTPS URL to which events will be sent.
{ "id": "5c0d9ec9-5ad8-4a43-a1b4-6f8f1f6c4c10", "event_type": "WALLET_ADDRESS_CREATED", "callback_url": "https://webhook-updated.partner.example/webhooks", "signature_verification_key": "1dec2311..." }
- Mock serverhttps://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks/{webhook_id}
- https://api.test.ripple.com/v1/collections/webhooks/{webhook_id}
- https://api.ripple.com/v1/collections/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://docs.ripple.com/_mock/products/collections/api/collections/v1/collections/webhooks/5c0d9ec9-5ad8-4a43-a1b4-6f8f1f6c4c10 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'"5c0d9ec9-5ad8-4a43-a1b4-6f8f1f6c4c10"