curl --request GET \
--url https://api.paygentic.io/v0/invoices/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "invoice",
"subscriptionId": "<string>",
"merchantId": "<string>",
"customerId": "<string>",
"amount": 123,
"currency": "<string>",
"status": "pending",
"invoiceNumber": "<string>",
"description": "<string>",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"paidAt": "2023-11-07T05:31:56Z",
"transactionId": "<string>"
}
curl --request GET \
--url https://api.paygentic.io/v0/invoices/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "invoice",
"subscriptionId": "<string>",
"merchantId": "<string>",
"customerId": "<string>",
"amount": 123,
"currency": "<string>",
"status": "pending",
"invoiceNumber": "<string>",
"description": "<string>",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"paidAt": "2023-11-07T05:31:56Z",
"transactionId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier for an invoice
Invoice details
The response is of type object
.