create_payment_link
Create a payment link in TZS for Tanzania via Flutterwave. Buyer pays with M-Pesa Tanzania, Tigo Pesa, Airtel Money, cards — via Flutterwave. Returns a hosted checkout URL the buyer opens to pay — payment completes automatically, no confirm step. Bring your own credentials via HTTP header (x-flutterwave-secret-key; free test credentials from dashboard.flutterwave.com never move real money). Money always flows buyer→Flutterwave→merchant; this service never touches funds.
Parameters5
| amount_tzs | integer | required | Amount in TZS (integer), e.g. 10000. Minimum 1000. |
| description | string | required | What this payment is for (shown to the buyer, ≤200 chars) |
| customer_email | string | required | Buyer email (required by Flutterwave; the receipt goes there). |
| reference_id | string | optional | Your unique order reference (≤40 chars). Auto-generated if omitted. |
| success_url | string | optional | Optional https URL to send the buyer to after payment. |
Raw schema
{
"type": "object",
"properties": {
"amount_tzs": {
"type": "integer",
"minimum": 1000,
"maximum": 100000000,
"description": "Amount in TZS (integer), e.g. 10000. Minimum 1000."
},
"description": {
"type": "string",
"description": "What this payment is for (shown to the buyer, ≤200 chars)"
},
"customer_email": {
"type": "string",
"description": "Buyer email (required by Flutterwave; the receipt goes there)."
},
"reference_id": {
"type": "string",
"description": "Your unique order reference (≤40 chars). Auto-generated if omitted."
},
"success_url": {
"type": "string",
"description": "Optional https URL to send the buyer to after payment."
}
},
"required": [
"amount_tzs",
"description",
"customer_email"
]
}