Skip to main content
POST
/
pause_collection
Pause automatic retries for a specific invoice
curl --request POST \
  --url https://api.your-company.com/slicker-webhook/pause_collection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "requestId": "req_2uqkAo1bwllmzrgV2qtGv48DtGI",
  "invoiceId": "inv_12345678"
}'
{
  "success": true,
  "message": "Collection paused for invoice"
}

Authorizations

Authorization
string
header
required

API key authentication using a Bearer token in the Authorization header. Example: Authorization: Bearer YOUR_API_KEY

Body

application/json
requestId
string
required

Unique identifier for the request from Slicker

Example:

"req_2uqkAo1bwllmzrgV2qtGv48DtGI"

invoiceId
string
required

Identifier for the invoice that should have collection paused

Example:

"inv_12345678"

Response

Collection pause instruction received successfully

success
boolean

Indicates if the pause instruction was successfully received

Example:

true

message
string

Additional information about the response

Example:

"Collection paused for invoice"

I