Headers

To communicate with the Thredd Cards API, you must include the correct headers in each API request.

Request Headers

The following headers must be included in requests made to the core API:

Name

Description

Value

Authorization

OAuth Credentials to authenticate your request

Your OAuth Token

'Content-Type'

The media type of the requested resource

application/x-www-form-urlencoded

Pagination Headers

For some endpoints - such as the List card transaction(s) endpoint you can pass pagination values:

Name

Description

Value

dateFrom

The date from which you want your data to start from

  • Format = YYYYMMDD* e.g. 20200930

dateTo

The date from which you want your data to end on

  • Format = YYYYMMDD* e.g. 20210930