Take payments
DCDial can collect payments from the account holders in your lists in several ways. Pick the one that fits the moment.
Payment links (recommended)
Section titled “Payment links (recommended)”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.
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.
Payment agreements
Section titled “Payment agreements”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.
- Get agreement details returns the agreement and what has been paid.
- Get payment schedule lists every scheduled payment with its date, amount and status.
- Get agreement document returns the signed document.
- Cancel agreement stops future payments.
Charging directly
Section titled “Charging directly”Process a payment charges a card (payment_method=CC) or bank account
(ACH) immediately, and can set up recurring payments (isrecurring=Y).
After the payment
Section titled “After the payment”- Get payment status checks a transaction by invoice or transaction ID.
- Refund a payment refunds all or part of a charge.
- Void a payment marks a recorded payment as removed (refunded, NSF, charged back).
- Get notified of every transaction with the transaction webhook.