Resend Webhook Notification
Resend confirmed transaction webhook notifications for a specified time period.
The webhook notification resend API is intended for specific and necessary use cases, such as retrieving missed notifications or ensuring data integrity. Misusing this API by excessively requesting resends may result in disruptions to your merchant account and impact our services.
If you need to resend a webhook notification for development and debugging purposes, it is recommended to use the webhook resend functionality on webhook page.
Webhook notification resend API
The maximum request frequency for this API is set at once per minute, with a daily limit of 25 calls.
Resend webhook notifications for a specified time period
POST
https://admin.ccpayment.com/ccpayment/v1/webhook/resend
Headers
Name | Type | Description |
---|---|---|
Sign* | String | SHA-256 (APPID + APP Secret +timestamp+body (json string)). Signature guide. |
Timestamp* | String | Timestamp in seconds (10-digit). The request is valid for two minutes. |
Appid* | String | Merchant's unique credential. Find it on the Developer page |
Content-Type* | String | application/json; charset=utf-8 |
Request Body
Name | Type | Description |
---|---|---|
start_timestamp* | Int | Specifies the start time for webhook notification sending. Timestamp in seconds (10-digit) |
end_timestamp | Int | Specifies the end time for webhook notification sending. Timestamp in seconds (10-digit) If "endTimestamp" is empty CCPayment will resend webhook notifications within a one-hour window based on the start time. The duration between the end timestamp and the start timestamp must not exceed one hour. |
webhook_result | String | Pass “Failed”. (default if not provided) If you want to resend all the failed webhook notification of transactions in a specific time frame Pass “All Result”. If you want to resend webhook notification of all transactions in a specific time frame |
transaction_type | String | Specifies the type of transactions for which webhook notifications should be sent. - All Type (default if not provided) - Direct Deposit - API Deposit - Invoice - API Withdrawal - Refund |
Response (Success 200)
Header
Name | Value | Required | Type | Description |
---|---|---|---|---|
Appid | 202302010636261620672405236006912 | Y | String | Merchant's unique credential. Find it on the Developer page |
Timestamp | 1677152490 | Y | String | Timestamp in seconds (10-digit). The request is valid for two minutes. |
Sign | 871f0223c66ea72435208d03603a0cb00b90f6ac4a4ba725d00164d967e291f6 | Y | String | SHA-256(appId + appSecret + timestamp+body(json string)) |
Body
Parameters
Name | Value | Required | Type | Description |
---|---|---|---|---|
code | 10000 | Integer | ||
msg | success | String | ||
data | Object | |||
data.resend_count | 0 | Int | Quantity of webhook notifications that were resent during the requested timeframe. |
Please note that CCPayment closely monitors the usage of the webhook notification resend API.
If your system requires a significant number of webhook notification resends, we kindly request you to inform the CCPayment team in order to avoid any mistaken categorization of your merchant account as an abuser.
Last updated