Payment requests (text and email)
Ask a customer to pay an amount; they get a link by email and/or text.
curl -X POST https://paylynks.io/api/v1/payment_requests -H "Authorization: Bearer $PAYLYNKS_SECRET_KEY" \
-H "Content-Type: application/json" -d '{
"amount": 12900, "description": "Drain cleaning",
"name": "Pat Lee", "email": "pat@example.com", "phone": "+19135550142", "sms_consent": true
}'
- Sends on every channel you have details for, unless
channelsis given. Texting requiressms_consent: true. customeruses a saved customer's contact details;send: falseonly creates it.expires_in_days(default 30);reminders: {offsets_days: [2, 5]}days after sending.POST /:id/sendresends,POST /:id/cancelstops the link.GET /api/v1/payment_requests,GET /:id.
Events: payment_request.created, .sent, .paid, .canceled, .expired.