API 1.0 / Orders

GET /orders/:identifier/invoices

List invoices of an order

This method has the URL https://api.toptranslation.com/v1/orders/:identifier/invoices and returns an array of invoices.

Required arguments

access_token
Token to authenticate a user
String
identifier
Part of URL of the request. Unique identifier of the order
String

Response

Returns an array of invoices.

{
  meta: {
    status: 200
  },
  data: [
    {
      identifier: '2016027492',
      value: 198.67,
      created_at: '2016-12-29 12:23:45',
      state: 'paid' 
    },
    {
      identifier: '2016027491',
      value: 198.67,
      created_at: '2016-12-29 11:18:37',
      state: 'canceled' 
    }
  ]
}

Errors

403 - User not authenticated
User is not allowed to access the resource or execute the method.
404 - Order not found
Order was not found or is not shared with user.