Payment
Retrieve payment receipt
Retrieves the URL of the invoice page for a specific payment, hosted by Stripe. From the invoice page, you can view the invoice and download both the invoice and the receipt. The URL is fetched from Stripe on each request, so request it again when you need it instead of storing it.
get/billing/payment/receipt/{payment_id}
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/billing/payment/receipt/{payment_id}
- Auth: API key in header api_key
Path parameters
payment_idstring required
ID of the payment.
Response
Success
Example response
{
"message": "Receipt URL retrieved",
"status": true,
"receipt_url": "https://invoice.stripe.com/i/acct_1PqR2sT3uV4wX5yZ/live_YWNjdF8xUHFSMnNUM3VWNHdYNXlaLF9SYWJjMTIzNDU2"
}Changes
No recorded changes to this operation across all 1 revision of this API.