Get collections.

Prev Next
Get
/customers/{customer_id}/collections

Get collection list.

Security
OAuth

OAuth Grant type use on OpenAPI subscriptions, Private JWT

FlowClient Credentials
Token URL$(host)/oauth/token
Scopes:
collections.readReading collections information via open API
Header parameters
sca-token-id
string (uuid)

Strong Customer Authorization (SCA) token ID. Required whenever an end-user is consuming movements more than 90 days old.

Min length36
Max length36
Pattern^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
x-client-id
string (uuid) Required

Client ID header

Min length36
Max length36
Pattern^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
Path parameters
customer_id
stringRequired

Customer unique id.

Min length1
Max length50
Pattern^[a-zA-Z0-9\-_]*$
Examplepagonxt_esESB76134758
Query parameters
_offset
integer (int32)

Pagination offset identifier.

Minimum0
Maximum100
Example1
_limit
integer (int32)

Number of values that should be informed per page.

Minimum1
Maximum100
Default50
Example10
_expand
array of string

Expands available for collections. List of values split by ,. Possibles values are: reconciliationInfo, paymentSubject, account, customer and history.

Example[ "reconciliationInfo", "paymentSubject" ]
Valid Item values[ "reconciliationInfo", "paymentSubject", "account", "history", "customer" ]
payment_subject_external_id
string

To filter by the external ID used to identify the payment subject by the customer.

Min length1
Max length255
Pattern^[a-zA-Z0-9\-_]*$
Example1234-abcd
real_account_id
string (uuid)

To filter by unique identifier for the real e money account related to this specific collection.

Min length36
Max length36
Pattern^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
Example2507b89c-b680-46df-9505-e0b6f78cf295
status
array of string

Collection status.

The possible values are:

  • IN_PROGRESS = Collection is waiting for its payment.
  • REJECTED = Collection has been rejected and cannot receive payments any more.
  • LOCALLY_PAID = External local partner has received the money.
  • COMPLETED = Collection has been payed correctly.
  • UNMATCHED_AMOUNT = If there is only one collection IN_PROGRESS and no match. CollectedAmount will save payment amount.
  • UNEXPECTED = If we were not expecting any payment.
  • UNABLE_TO_MATCH = If there is more than one collection IN_PROGRESS and we cannot determine with one should receive the payment.
  • CARD_PAYMENT_FAILED = If card payment process failed.
  • CARD_PAYMENT_SUCCESS = If card payment process successfully finished.
  • CARD_PAYMENT_CANCELLED = If card payment process cancelled.
Example[ "IN_PROGRESS", "COMPLETED" ]
Valid Item values[ "IN_PROGRESS", "REJECTED", "LOCALLY_PAID", "COMPLETED", "UNMATCHED_AMOUNT", "UNEXPECTED", "UNABLE_TO_MATCH", "CARD_PAYMENT_FAILED", "CARD_PAYMENT_SUCCESS", "CARD_PAYMENT_CANCELLED" ]
payment_methods
array of string

Payment methods selected by collections.

List of values split by ,. The possible values are:

  • BANK_TRANSFER -LOCAL_TRANSFER
Example[ "LOCAL_TRANSFER", "BANK_TRANSFER" ]
Valid Item values[ "BANK_TRANSFER", "LOCAL_TRANSFER", "CARD_PAYMENT" ]
from_collected_amount
number

Minimum collected amount to be included in the response.

The value must be greater than or equal to 0.

Minimum0
Maximum2147483647
Example200.0
to_collected_amount
number

Maximum collected amount to be included in the response.

The value must be less than or equal to 2147483647.

Minimum0
Maximum2147483647
Example250.0
from_expected_amount
number

Minimum expected amount to be included in the response.

The value must be greater than or equal to 0.

Minimum0
Maximum2147483647
Example200.0
to_expected_amount
number

Maximum expected amount to be included in the response.

The value must be less than or equal to 2147483647.

Minimum0
Maximum2147483647
Example250.0
from_created_at_date
string (date-time)

From Date and time when the collection was created.

The value uses the data format defined in ISO 8601 and is expressed in UTC time:

'YYYY-MM-DDThh:mm:ss.sssZ'

Example2024-11-26T10:02:03.482Z
to_created_at_date
string (date-time)

To Date and time when the collection was created.

The value uses the data format defined in ISO 8601 and is expressed in UTC time:

'YYYY-MM-DDThh:mm:ss.sssZ'

Example2024-12-26T10:02:03.482Z
expected_reference
string

Filter by expected collection reference used by PagoNxt for reconciliation purposes. Case insensitive and partial match.

Max length50
Pattern^[a-zA-Z0-9\-_]*$
ExampleCOLLREF1
external_reference
string

Filter by external collection reference supplied by customer. Case insensitive and partial match.

Max length50
Pattern^[a-zA-Z0-9\-_]*$
ExampleABCD1234
_sort
string

Sort order value.

Valid values[ "+created_at", "-created_at" ]
Default"-created_at"
Example-created_at
expected_currency_code
string

Currency code. The value is the alpha-3 format defined in ISO 4217 (https://www.iso.org/iso-4217-currency-codes.html).

Min length3
Max length3
Pattern^[A-Z]{3}$
ExampleEUR
Responses
200

Collection list response.

{
  "collections": [
    {
      "id": "c75e3057-5514-4b72-bf41-6dba88357c0f",
      "customerId": "pagonxt_esESB76134758",
      "originCountryCode": "ES",
      "paymentLinkId": "sLiKADBoKUSQPJ",
      "expectedAmount": {
        "value": 250,
        "currencyCode": "EUR"
      },
      "collectedAmount": {
        "value": 250,
        "currencyCode": "EUR"
      },
      "expectedReference": "COLLREF1",
      "externalReference": "ABCD1234",
      "paymentMethodCode": "BANK_TRANSFER",
      "reconciliationInfo": {
        "collectedAmount": {
          "value": 250,
          "currencyCode": "EUR"
        },
        "receivedReference": "ref",
        "transactionValueDate": "2022-03-17T10:02:03.482Z",
        "transactionOperationDate": "2022-03-17T10:02:03.482Z",
        "transactionBookingDate": "2022-03-17T10:02:03.482Z"
      },
      "status": "COMPLETED",
      "paymentSubjectExternalId": "2507b89c-b680-46df-9505-e0b6f78cf294",
      "paymentSubject": {
        "externalId": "2507b89c-b680-46df-9505-e0b6f78cf294",
        "metadataType": "PERSON",
        "supplementaryReference": "PN4444BBBA"
      },
      "realAccountId": "c75e3057-5514-4b72-bf41-6dba88357c0a",
      "account": {
        "accountIdentifiers": [
          {
            "accountIdType": "uuid",
            "accountId": "2507b89c-b680-46df-9505-e0b6f78cf296",
            "countryCode": "ES"
          },
          {
            "accountIdType": "iban",
            "accountId": "GB40PNXT09991100000010",
            "countryCode": "ES"
          },
          {
            "accountIdType": "bban",
            "accountId": "PNXT0999110000001",
            "countryCode": "ES"
          }
        ],
        "legalEntityBic": "PAGOES20XXX",
        "reconciliationModel": "COL-VA"
      },
      "customer": {
        "id": "pagonxt_esESB76134758",
        "name": "Customer Company S.A.",
        "address": "99 BUSINESS STREET, 28075, LAS PALMAS DE GRAN CANARIA, LAS PALMAS, ES"
      },
      "createdAt": "2025-02-21T10:43:34.648Z",
      "updatedAt": "2025-02-21T10:43:34.648Z",
      "statusHistory": [
        {
          "createdAt": "2025-02-25T16:35:45.677Z",
          "status": "IN_PROGRESS"
        },
        {
          "createdAt": "2025-02-25T16:35:45.689Z",
          "status": "COMPLETED"
        }
      ]
    }
  ],
  "_count": 1,
  "_links": {
    "self": {
      "href": "https://host/em_cs_collections/customers/pagonxt_esESB76134758/collections/?expands=account,paymentSubject,reconciliationInfo,customer,history&_offset=0&status=COMPLETED&payment_methods=BANK_TRANSFER&expected_reference=col&from_expected_amount=1&to_expected_amount=301"
    }
  }
}
Expand All
object
_count
integer (int32)

Total items.

Minimum1
Maximum100
Example1
_links
object

Paginated links object.

self
object

Self link object.

href
string

Self link.

Max length999
Pattern^(www|http:|https:)+[^\s]+[\w]$
Examplehttps://host/?_offset=0&_limit=10
_first
string

Link to the first page of the list.

Max length999
Pattern^(www|http:|https:)+[^\s]+[\w]$
Examplehttps://host/?_offset=0&_limit=10
_prev
string

Link to the previous page of the list.

Max length999
Pattern^(www|http:|https:)+[^\s]+[\w]$
Examplehttps://host/?_offset=0&_limit=10
_next
string

Link to the next page of the list.

Max length999
Pattern^(www|http:|https:)+[^\s]+[\w]$
Examplehttps://host/?_offset=0&_limit=10
_last
string

Link to the last page of the list.

Max length999
Pattern^(www|http:|https:)+[^\s]+[\w]$
Examplehttps://host/?_offset=0&_limit=10
collections
Array of object (SingleCollectionDto)

Collections list.

Max items100
object
createdAt
string (date-time)

Date and time when the entry was created.

Max length24
Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z$
Example2024-10-04T10:02:03.482Z
updatedAt
string (date-time)

Date and time when the entry was updated.

Max length24
Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z$
Example2024-10-04T10:02:03.482Z
id
string (uuid)

Unique identifier.

Min length36
Max length36
Pattern^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
Example2507b89c-b680-46df-9505-e0b6f78cf295
realAccountId
string (uuid)

Unique identifier for the real e money account related to this specific collection.

Min length36
Max length36
Pattern^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
Example2507b89c-b680-46df-9505-e0b6f78cf295
originCountryCode
string

Indicate from which country the Payment Method is available. Only valid ISO31661 Alpha 2.

Min length2
Max length2
Pattern^[A-Z]{2}$
ExampleES
status
string

Collection status.

The possible values are:

  • IN_PROGRESS = Collection is waiting for its payment.
  • REJECTED = Collection has been rejected and cannot receive payments any more.
  • LOCALLY_PAID = External local partner has received the money.
  • COMPLETED = Collection has been payed correctly.
  • UNMATCHED_AMOUNT = If there is only one collection IN_PROGRESS and no match. CollectedAmount will save payment amount.
  • UNEXPECTED = If we were not expecting any payment.
  • UNABLE_TO_MATCH = If there is more than one collection IN_PROGRESS and we cannot determine with one should receive the payment.
  • CARD_PAYMENT_FAILED = If card payment process failed.
  • CARD_PAYMENT_SUCCESS = If card payment process successfully finished.
  • CARD_PAYMENT_CANCELLED = If card payment process cancelled.
Valid values[ "IN_PROGRESS", "REJECTED", "LOCALLY_PAID", "COMPLETED", "UNMATCHED_AMOUNT", "UNEXPECTED", "UNABLE_TO_MATCH", "CARD_PAYMENT_FAILED", "CARD_PAYMENT_SUCCESS", "CARD_PAYMENT_CANCELLED" ]
ExampleIN_PROGRESS
expectedReference
string

Expected collection reference.

Max length50
Pattern^[a-zA-Z0-9\-_]*$
ExampleCOLLREF1
externalReference
string

Collection external reference supplied by customer.

Max length50
Pattern^[a-zA-Z0-9\-_]*$
ExampleABCD01234
paymentSubjectExternalId
string

External ID used to identify the payment subject by the customer.

Min length1
Max length255
Pattern^[a-zA-Z0-9\-_]*$
Example1234-abcd
paymentLinkId
string

The Payment link identifier.

Min length14
Max length14
Pattern^[a-zA-Z0-9-]*$
ExampleV1PELwCuelhKCr
customerId
string

Customer unique id.

Min length1
Max length50
Pattern^[a-zA-Z0-9\-_]*$
Examplepagonxt_esESB76134758
expectedAmount
object

Amount expected.

Example{ "value": 200, "currencyCode": "EUR" }
value
number (float)

A 32 bit floating point number.

Minimum1
Maximum2147483647
Example250.5
currencyCode
string

Currency code. The value is the alpha-3 format defined in ISO 4217 (https://www.iso.org/iso-4217-currency-codes.html).

Min length3
Max length3
Pattern^[A-Z]{3}$
ExampleEUR
collectedAmount
object

Amount collected.

Example{ "value": 200, "currencyCode": "EUR" }
value
number (float)

A 32 bit floating point number.

Minimum1
Maximum2147483647
Example250.5
currencyCode
string

Currency code. The value is the alpha-3 format defined in ISO 4217 (https://www.iso.org/iso-4217-currency-codes.html).

Min length3
Max length3
Pattern^[A-Z]{3}$
ExampleEUR
paymentMethodCode
string

Payment method code.

Valid values[ "BANK_TRANSFER", "LOCAL_TRANSFER", "CARD_PAYMENT" ]
ExampleBANK_TRANSFER
reconciliationInfo
object (ReconciliationInfoDto)
collectedAmount
object

Amount collected.

Example{ "value": 200, "currencyCode": "EUR" }
value
number (float)

A 32 bit floating point number.

Minimum1
Maximum2147483647
Example250.5
currencyCode
string

Currency code. The value is the alpha-3 format defined in ISO 4217 (https://www.iso.org/iso-4217-currency-codes.html).

Min length3
Max length3
Pattern^[A-Z]{3}$
ExampleEUR
receivedReference
string

Received collection reference.

Max length50
Pattern^[a-zA-Z0-9\-_]*$
ExampleCOLLREF1
transactionValueDate
string (date-time)

Date and time of the transaction value.

Max length24
Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z$
Example2022-03-17T10:02:03.482Z
transactionOperationDate
string (date-time)

Date and time of the transaction operation.

Max length24
Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z$
Example2022-03-17T10:02:03.482Z
transactionBookingDate
string (date-time)

Date and time of the transaction booking.

Max length24
Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z$
Example2022-03-17T10:02:03.482Z
paymentSubject
object (PaymentSubjectDto)
externalId
string

External ID used to identify the payment subject by the customer.

Min length1
Max length255
Pattern^[a-zA-Z0-9\-_]*$
Example1234-abcd
supplementaryReference
string

Unique supplementary reference that can be optionally provided by our customer.

Min length10
Max length10
Pattern^PN[2-9]{4}[A-HJ-KM-NP-Za-hj-km-np-z]{4}$
ExamplePN2222AAAA
metadataType
string

Type of the extra info attached to a payment subject. It can be PERSON or COMPANY.

Valid values[ "PERSON", "COMPANY" ]
ExamplePERSON
metadata
object

Optional metadata info. Available properties for PERSON: name, lastName, idNumber and dateOfBirth. Available properties for COMPANY: name and taxId.

name
string

Company name.

Min length1
Max length255
Pattern^(?:['_.,&\-\sa-zA-ZÀ-ÿ0-9])+$
ExampleMonsters S.A.
lastName
string

Person last name.

Min length1
Max length255
Pattern^(?:['_.,&\-\sa-zA-ZÀ-ÿ0-9])+$
ExampleWashington
dateOfBirth
string

Person birth date.

Min length10
Max length10
Pattern^\d{4}-\d{2}-\d{2}$
Example1998-03-17
idNumber
string

Optional identification number that can be the national id, passport or any other id of the person. It's a free string.

Min length1
Max length255
Pattern^[a-zA-Z0-9-]+$
Example25073259Q
taxId
string

Tax id of the company.

Min length1
Max length255
Pattern^[a-zA-Z0-9-]+$
ExampleA12345678
account
object (CollectionAccountExpandDto)
accountIdentifiers
Array of object (AccountIdentifierWithCountryCodeDto)

Account identifiers.

Max items3
Example[ { "accountIdType": "uuid", "accountId": "0589bd6c-cca4-4b46-9c8a-b786171e66e1", "countryCode": "GB" }, { "accountIdType": "iban", "accountId": "GB40PNXT09991100000010", "countryCode": "GB" }, { "accountIdType": "bban", "accountId": "PNXT0999110000001", "countryCode": "GB" } ]
object
countryCode
string

Country code. The value is based on the ISO 3166-1 alpha-2 (https://www.iso.org/obp/ui/#search/code/).

Min length2
Max length2
Pattern^[A-Z]{2}$
ExampleGB
accountIdType
string

Format used for the account number in the accountId property.

The possible values are:

  • IBAN = IBAN code
  • BBAN = Basic Bank Account Number (BBAN) that represents a country-specific bank account number. Each country has its own standards for the format and length of the BBAN. The value is at most 31 char or 35 bytes long.
  • UUID = Unique account identifier. It is an internal code to uniquely identify the account. Some accounts are internal so they have UUID but no IBAN/BBAN.

For example:

  • In UK, the BBAN format is: Bank(4) + Sort code(6) + Account(8)
  • In Spain, it is: Banco(4) + Sucursal(4) + CD(2) + CTA(10)
Valid values[ "iban", "bban", "uuid" ]
Exampleiban
accountId

Account identifier. Type depends on accountIdType.

AnyOf
string (uuid)
string
Min length36
Max length36
Pattern^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
Example2507b89c-b680-46df-9505-e0b6f78cf295
string
string
Min length15
Max length34
Pattern^[A-Z]{2}[0-9A-Z\s]{17,32}$
ExampleGB40PNXT09991100000010
string
string
Min length11
Max length30
Pattern^[0-9A-Z\s]{11,30}$
ExamplePNXT09991100000010
legalEntityBic
string

Bank Identifier Code (BIC) for the legal entity of the account.

Min length3
Max length255
Pattern^[a-zA-Z_0-9_@.#&+-_ ''""]*$
ExamplePAGOGB20XXX
reconciliationModel
string

Account reconciliation model. Determines how an account's collections will be reconciled. Only present in real acount. Option are:

  • PS-VA: Payment subject virtual account

  • PS-REF: Payment subject referencePS-VA

  • COL-VA: Collection virtual account

  • COL-REF: Collection reference

Valid values[ "PS-VA", "PS-REF", "COL-VA", "COL-REF" ]
ExamplePS-REF
customer
object (CollectionCustomerExpandDto)
id
string

Customer unique id.

Min length1
Max length50
Pattern^[a-zA-Z0-9\-_]*$
Examplepagonxt_esESB76134758
name
string

Customer company name.

Max length255
Pattern^(?:['_.,&\-\sa-zA-ZÀ-ÿ0-9])+$
ExampleMock Company S.A.
address
string

Customer company address.

Max length255
Pattern^[A-Za-z0-9À-ÖØ-öø-ÿªº&?-©®,."':\s\-{}$^[\]_()+*|\\]*$
Example99 BUSINESS STREET, 28075, LAS PALMAS DE GRAN CANARIA, LAS PALMAS, ES
statusHistory
Array of object (CollectionStatusHistoryDto)
Max items255
Example[ { "createdAt": "2024-10-04T10:02:03.482Z", "status": "COMPLETED" } ]
object
createdAt
string (date-time)

Date and time when the entry was created.

Max length24
Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z$
Example2024-10-04T10:02:03.482Z
status
string

Historical status of the collection.

Valid values[ "IN_PROGRESS", "REJECTED", "LOCALLY_PAID", "COMPLETED", "UNMATCHED_AMOUNT", "UNEXPECTED", "UNABLE_TO_MATCH", "CARD_PAYMENT_FAILED", "CARD_PAYMENT_SUCCESS", "CARD_PAYMENT_CANCELLED" ]
ExampleCOMPLETED
204

No content

400

Bad Request

example-1
{
  "errors": [
    {
      "code": "BAD_REQUEST",
      "message": "Bad Request",
      "level": "FATAL",
      "description": "Description of the Bad Request error"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
401

Unauthorized

example-1
{
  "errors": [
    {
      "code": "UNAUTHORIZED",
      "message": "Unauthorized",
      "level": "FATAL",
      "description": "Description of the Unauthorized error"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
403

Forbidden

example-1
{
  "errors": [
    {
      "code": "FORBIDDEN",
      "message": "Forbidden",
      "level": "FATAL",
      "description": "Description of the Forbidden error"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
404

Not Found

example-1
{
  "errors": [
    {
      "code": "NOT_FOUND",
      "message": "Not Found",
      "level": "FATAL",
      "description": "Description of the Not Found error"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
406

Not Acceptable The Accept header does not specifically contain one of the allowable types. Missing Accept header, usually 'application/json'

example-1
{
  "errors": [
    {
      "code": "NOT_ACCEPTABLE",
      "message": "Not Acceptable",
      "level": "FATAL",
      "description": "Description of the Not Acceptable error"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
413

Request Entity Too Large Most web servers have a limit of 8192 bytes (8 KB). The server will close the connection to prevent the client from continuing the request.

example-1
{
  "errors": [
    {
      "code": "ENTITY_TOO_LARGE",
      "message": "Request Entity Too Large",
      "level": "FATAL",
      "description": "Description of the Request Entity Too Large error"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
414

URI Too Long

err414Example
{
  "errors": [
    {
      "code": "URI_TOO_LONG",
      "level": "FATAL",
      "message": "URI Too Long",
      "description": "URI Too Long description"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
422

Unprocessable Entity

err422Example
{
  "errors": [
    {
      "code": "UNPROCESSABLE_ENTITY",
      "level": "FATAL",
      "message": "Unprocessable Entity",
      "description": "Unprocessable Entity description"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
429

Too Many Requests

err429Example
{
  "errors": [
    {
      "code": "TOO_MANY_REQUESTS",
      "level": "ERROR",
      "message": "Too Many Requests",
      "description": "Too Many Requests description"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
500

Internal server error

err500Example
{
  "errors": [
    {
      "code": "INTERNAL_SERVER_ERROR",
      "level": "FATAL",
      "message": "Internal server error",
      "description": "Internal server error description"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
503

Service unavailable

err503Example
{
  "errors": [
    {
      "code": "SERVICE_UNAVAILABLE",
      "level": "ERROR",
      "message": "Service unavailable",
      "description": "Service unavailable error description"
    }
  ]
}
healthFailedExample
{
  "errors": [
    {
      "code": "fail",
      "level": "ERROR",
      "message": "Health check failed",
      "description": "Health check failed"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
504

Gateway timeout

err504Example
{
  "errors": [
    {
      "code": "GATEWAY_TIMEOUT",
      "level": "ERROR",
      "message": "Gateway timeout",
      "description": "Gateway timeout error description"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription
default

Default error

errDefaultExample
{
  "errors": [
    {
      "code": "INTERNAL_SERVER_ERROR",
      "level": "FATAL",
      "message": "Error message",
      "description": "Error description"
    }
  ]
}
Expand All
object

Data structure containing the details for errors

errors
Array of object (Error)

Array of errors

Min items0
Max items50
object

Data structure containing the error details

code
string

Unique alphanumeric human readable error code

Min length1
Max length25
Pattern^[a-zA-Z_0-9 ]*$
ExampleXXX
message
string

Brief summary of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleMessage
level
string

Level of the reported issue. The possible values are.

  • ERROR
  • FATAL
  • INFO
  • WARNING
Valid values[ "ERROR", "FATAL", "INFO", "WARNING" ]
ExampleERROR
description
string

Detailed description of the reported issue

Min length1
Max length255
Pattern^[a-zA-Z0-9. /_-]*$
ExampleDescription