What this is for
Any workflow where an agent needs to call a specific customer and then collect payment on the call. Instead of the agent reading the number off a CRM screen and dialling by hand, your system calls this endpoint with the target number and the agent's ID. The ACA launches the call, the agent answers, and the payment flow continues from there.
Endpoint
POST https://accounts.paytia.com/api/payment_service
Shared endpoint, flow selected by transaction_flag. Authentication is the same X-API-KEY header used everywhere else.
Typical flow
- Agent opens a customer record in your CRM / helpdesk.
- Your system POSTs to the Click to Call endpoint with the customer number and the agent ID.
- Paytia signals the agent's ACA to launch an outbound call.
- Call connects, agent speaks to customer, payment is collected via the usual DTMF-masking flow.
- Webhook fires back with the final transaction result.
Coming in the explorer
The fields for Click to Call are being added to the interactive try-it explorer. In the meantime, the request access form will get you a sandbox credential and a full worked example for your integration.