Skip to content

Take payments

DCDial can collect payments from the account holders in your lists in several ways. Pick the one that fits the moment.

Create a payment link returns a short URL for one account. Send it yourself, or set communication_method=sms and DCDial texts it to the account’s phone number.

Terminal window
curl https://api.dcdial.com/api/ \
-d type=get_payment_link \
-d token="$DCDIAL_TOKEN" \
-d company_id=101 \
-d account_id=ACC-10045 \
-d amount=150.00
{ "response": { "success": 1, "account_id": "ACC-10045", "payment_link": "https://pay.dcdial.com/…" } }

The account holder enters their card or bank details on DCDial’s payment page, so your systems never handle them.

Create payment agreement sets up a schedule: a start date, a number of payments, an amount and a frequency (weekly, monthly, …), or explicit billing_dates and billing_amounts. DCDial sends the agreement to the account holder by SMS, email or both (communication_method) to review and sign.

Process a payment charges a card (payment_method=CC) or bank account (ACH) immediately, and can set up recurring payments (isrecurring=Y).