Skip to main content
GET
/
v1
/
batches
/
{id}
/
errors
List validation errors and warnings for a batch
curl --request GET \
  --url https://api.antonpayments.com/v1/batches/{id}/errors \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "errors": [
      {
        "row": 123,
        "message": "<string>",
        "field": "<string>"
      }
    ],
    "warnings": [
      {
        "row": 123,
        "type": "<string>",
        "message": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API keys are opaque strings prefixed by environment:

  • ak_live_* — production keys, accepted only on api.antonpayments.com.
  • ak_test_* — sandbox keys, accepted only on api.antonpayments.dev.

Include your key in the Authorization header: Bearer ak_test_....

Path Parameters

id
string
required
Pattern: ^bat_[a-zA-Z0-9]+$

Response

Errors and warnings keyed by row.

data
object