How to implement the webhook endpoint for receiving retry instructions from Slicker
Field | Description |
---|---|
requestId | Unique identifier for this retry request |
invoiceId | Identifier for the invoice that should be retried |
subscriptionId | Identifier for the subscription associated with the invoice |
actionSuggestion | Type of action to take (RETRY, CARD_CHANGE, etc.) |
idealRetryTime | Optimal time to execute the retry according to Slicker’s algorithms |
actionSuggestion
field will contain one of the following values:
ACTION_SUGGESTION_RETRY
: Attempt to process the payment againACTION_SUGGESTION_CARD_CHANGE
: Request an updated payment method from the customerACTION_SUGGESTION_CARD_CONFIRMATION
: Request the customer to confirm their payment method