Developer

Delete A Rule-Strategy Relation

2018-02-22T08:53:15+00:00

DELETE /webhooks/rules/:rule_id/strategies/:strategy_id Delete a relation between a rule and a strategy. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. ERROR CODE MESSAGE 100001 Rule not found. 200007 Strategy [...]

Delete A Rule-Strategy Relation2018-02-22T08:53:15+00:00

Create A Rule-Strategy Relation

2018-02-22T10:33:53+00:00

POST /webhooks/rules/:rule_id/strategies Creates a relation between a rule and a strategy. Having a relation between a rule and a strategy will cause the strategy to execute when all of a rule's constraints are met. PARAMETER DETAILS username This request expects a merchant’s private API key to be provided as the username with a [...]

Create A Rule-Strategy Relation2018-02-22T10:33:53+00:00

Update a Strategy

2017-10-11T16:42:41+00:00

PUT /webhooks/strategies/:id Update an existing strategy. PARAMETER DETAILS username This request expects a merchant’s private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. mode The mode that this strategy will use. Currently supported values are 'sms', [...]

Update a Strategy2017-10-11T16:42:41+00:00

Fetch a Strategy

2017-10-11T16:42:25+00:00

GET /webhooks/strategies/:id Fetch a specific strategy. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. ERROR CODE MESSAGE 200007 Strategy not found. RETRIEVE A STRATEGY Sample [...]

Fetch a Strategy2017-10-11T16:42:25+00:00

Delete A Strategy

2017-10-11T16:41:49+00:00

DELETE /webhooks/strategies/:id Delete a strategy by using its ID number. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. id ID of the strategy to delete. ERROR CODE MESSAGE [...]

Delete A Strategy2017-10-11T16:41:49+00:00

Create A Strategy

2017-10-11T16:41:25+00:00

POST /webhooks/strategies Creates a webhook strategy. PARAMETER DETAILS username This request expects a merchant’s private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. mode The mode that this strategy will use. Currently supported values are 'sms', [...]

Create A Strategy2017-10-11T16:41:25+00:00

Update a Rule

2017-10-11T16:41:04+00:00

PUT /webhooks/rule/:id Update an existing rule. PARAMETER DETAILS username This request expects a merchant’s private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. event_resource The resource type of the event. See our webhooks documentation for a list [...]

Update a Rule2017-10-11T16:41:04+00:00

Fetch a Rule

2017-10-11T16:53:17+00:00

GET /webhooks/rules/:id Fetch a specific rule. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. ERROR CODE MESSAGE 100001 Rule not found. RETRIEVE A RULE Sample [...]

Fetch a Rule2017-10-11T16:53:17+00:00

Delete A Rule

2017-10-11T16:40:37+00:00

DELETE /webhooks/rules/:id Delete a rule by using its ID number. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. id ID of the rule to delete. ERROR CODE MESSAGE [...]

Delete A Rule2017-10-11T16:40:37+00:00

Create A Rule

2017-10-11T16:38:32+00:00

POST /webhooks/rules Creates a webhook rule. PARAMETER DETAILS username This request expects a merchant’s private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. event_resource The resource type of the event. See our webhooks documentation for a list [...]

Create A Rule2017-10-11T16:38:32+00:00