import requests
url = "https://api.example.com/api/v1/wallets/webhook"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.example.com/api/v1/wallets/webhook \
--header 'Content-Type: application/json' \
--data '{}'{
"result": {
"processed": true
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Handle WaaS webhook
This endpoint receives webhook events from the Cobo WaaS platform and processes transaction status updates and balance changes. Requests must include valid biz-timestamp and biz-resp-signature headers for signature verification.
import requests
url = "https://api.example.com/api/v1/wallets/webhook"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.example.com/api/v1/wallets/webhook \
--header 'Content-Type: application/json' \
--data '{}'{
"result": {
"processed": true
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Headers
Unix timestamp (milliseconds) from the Cobo WaaS webhook request, used for signature verification and replay-attack prevention.
ECDSA signature from the Cobo WaaS webhook request, used to verify that the payload originated from Cobo. Compute verification using the biz-timestamp and raw request body.
Body
The body is of type · object.
Response
Successful Response
Webhook process acknowledgment payload.
Show child attributes
Show child attributes
Pagination metadata for list responses.
Supports both legacy offset-based and cursor-based pagination.
Cursor fields (has_more, after, before) are populated for
cursor-paginated endpoints. Legacy fields (offset, limit) are
populated when the caller uses the deprecated offset parameter.
Show child attributes
Show child attributes