API
Invoices
Fetch Invoice
1min
To fetch an individual invoice, you only need to provide the invoice’s unique ID.
GET
Params
Path Params
id
required
String
The invoices unique ID
Updated 23 Nov 2023
Did this page help you?
curl -X GET \ -u sk_your_key: \ "https://api.moyasar.com/v1/invoices/73bda482-5f95-4f59-87d3-3fe3615c54bc"
{ "id": "73bda482-5f95-4f59-87d3-3fe3615c54bc", "status": "initiated", "amount": 6091, "currency": "SAR", "description": "Order #123126", "logo_url": "https://s3-eu-west-1.amazonaws.com/moyasar.api.assets.prod/entities/logos/default.png", "amount_format": "60.91 SAR", "url": "https://checkout.moyasar.com/invoices/73bda482-5f95-4f59-87d3-3fe3615c54bc?lang=en", "callback_url": "https://mystore.com/notify-paid", "expired_at": null, "created_at": "2023-08-23T11:21:15.690Z", "updated_at": "2023-08-23T11:21:15.690Z", "back_url": null, "success_url": null, "metadata": null, "payments": [] }