API Reference

Fetch an invoice

GET/invoices/{reference}

Query Parameters

referencestring

Reference of the invoice to be fetched.

Request

curl
curl https://gateway.pmnts-sandbox.io/v1.0/invoices/X2 -u TEST:TEST

Response

200Result
json
{
  "successful": true,
  "response": {
  "amount": 7500,
  "currency": "AUD",
  "description": "Animal Registrations",
  "reference": "X2",
  "payable": true
  },
  "errors": [],
  "test": true
}