POST {{baseURL}}/pay-int-api/quick-payments/one-time
This endpoint creates link for a one-time payment.
A one-time is one that can be used only once and then it expires. This can be used for cases like purchases or fee payments. It is limited to only one person. A one-time is in contrast to a reusable payment payment that can be use multiple times by different people.
The link must be activated before use as a security feature. To activate a one-time payment link, see POST /pay-int-api/quick-payments/{{quickPaymentId}}/activate
The link remains active until one of the following occurs:
- The customer completes the payment
- The link is manually deactivated
- The link's time limit expires
See Also:
To list one-time payment links, see GET /pay-int-api/quick-payments/one-time.
To retrieve details of a one-time payment link, see GET /pay-int-api/quick-payments/one-time/{quickPaymentId}.
To activate a payment link, see POST /pay-int-api/quick-payments/{quickPaymentId}/activate.
To send a payment link by SMS, see POST /pay-int-api/quick-payments/{quickPaymentId}/send-sms-notification.
The one-time payment link creation request.
Specifies the amount (in USD) of the one-time payment.
Example: 45.99
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-int-api/quick-payments/one-time
- Sandbox environmenthttps://sandbox.api.flute.com/pay-int-api/quick-payments/one-time
- Production environmenthttps://api.flute.com/pay-int-api/quick-payments/one-time
curl -i -X POST \
https://developer.flute.com/_mock/api-reference/pay-int-api/quick-payments/one-time \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-version: 1.0' \
-d '{
"amount": 45.99,
"referenceId": "10001",
"customerId": "c9ae4972-b934-41aa-8e1a-1e5d8ad34bec"
}'{ "id": "c8c67f32-aca5-47c4-b10e-123086a43075" }