DialerDay Docs

Payments

DialerPay

Payments taken

get/v1/payments
Permission payments:read

Needs DialerPay in your plan.

Permission: payments:read

Query parameters

contact_id
integer
limit
integer
1–500 · default 100

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/payments \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Send a payment link

post/v1/payment-links
Permission payments:write

A hosted card payment page for the contact, texted to them unless send_sms is false. Needs DialerPay set up.

Needs DialerPay in your plan.

Permission: payments:write

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

contact_idrequired
integer
amountrequired
number | string
In your currency, e.g. 49.99
descriptionrequired
string
1–200 chars
send_sms
boolean
default true
save_card
boolean
default false
recurring
"week" | "month" | null

Responses

  • 201OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/payment-links \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "contact_id": 42,
  "amount": 1,
  "description": "string"
}'