Download the invoice PDF of a card payment, issuing the invoice first when it has none
Changed onRequest
- Base URLhttps://console-api-sandbox.akash.network
- URLhttps://console-api-sandbox.akash.network/v1/stripe/transactions/{id}/invoice
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
ID of the card payment's transaction
Headers
Id or slug of the organization the request runs in. Defaults to the organization used last, or the caller's personal one. Answers 403 organization_forbidden when the caller is not a member, and 400 organization_mismatch when it names another organization than the API key's.
Id of a project of the active organization to limit the request to. Answers 403 project_forbidden when the caller cannot reach the project, or the API key is limited to another one.
Response
PDF of the card payment's paid invoice
Changes
- breaking
removed the media type
application/jsonfor the response with the status - info
added the media type
application/pdffor the response with the status
- breaking
- info
added the new optional
headerrequest parameterx-organization-id - info
added the new optional
headerrequest parameterx-project-id
- info