Receipts
Send payment receipts to customers via email and SMS.
Send Email Receipt
curl -X POST https://dev.auxcore.net/api/v1/notifications/receipt/email \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "X-Tenant-ID: your-tenant-id" \
-d '{
"transactionId": "txn_abc123",
"email": "customer@example.com"
}'
Send SMS Receipt
curl -X POST https://dev.auxcore.net/api/v1/notifications/receipt/sms \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"transactionId": "txn_abc123",
"phone": "+1234567890"
}'
Download PDF Receipt
curl https://dev.auxcore.net/api/v1/notifications/receipts/txn_abc123/pdf \
-o receipt.pdf
Customize Receipt Template
{
"template": {
"logoUrl": "https://example.com/logo.png",
"primaryColor": "#007bff",
"showItemDetails": true,
"footer": "Thank you for your business!"
}
}
Need help? Contact support@auxvault.com