Webhook / Unsubscribe

Unsubscribe/ delete webhook

Request Header Authorization
Authentication Yes

API Endpoint

{{ServerUrl}}api/v1/webhook/unsubscribe/{id}

API Parameters

Request Parameter

Field DataType Required Description
id bigint Yes subscribe id

Response Parameter

Field DataType Description
status string response status
message string response message
payload
id string deleted id

Sample JSON Request:

				
					https://api-dev.intersendmoney.com/api/v1/webhook/unsubscribe/14
				
			

Response Codes and Statuses

Status Code Error Description
000 Success

Error Codes

Status Code Error Description
101 General/Process error (see message)
301 Permission denined
401 Unauthorized
500 Internal server error (see message)

Sample JSON Responses: Success

				
					{
    "status": "000",
    "message": "Success",
    "payload": {
        "id": 14,
        "isDeleted": true
    }
}
				
			

Change Log