Payments
DialerPay
Payments taken
get
/v1/paymentsPermission
payments:readNeeds DialerPay in your plan.
Permission: payments:read
Query parameters
contact_idinteger | |
limitinteger | 1–500 · default 100 |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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-linksPermission
payments:writeA 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-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
contact_idrequiredinteger | |
amountrequirednumber | string | In your currency, e.g. 49.99 |
descriptionrequiredstring | 1–200 chars |
send_smsboolean | default true |
save_cardboolean | default false |
recurring"week" | "month" | null |
Responses
201OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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"
}'