Skip to content

BAD_CUSTOMER_REF

HTTP 400 — Bad customer reference

A bill needs customer_ref — the student number, the tenant, the invoice — and it was missing or over 64 characters.

What to do

Send the reference the bill is for. It is printed on the slip and echoed on every payment against the bill.

Can I retry?

Not unchanged. Something in the request has to change first — retrying as-is gets the same answer.

The body you received

json
{
  "error": {
    "code": "BAD_CUSTOMER_REF",
    "doc": "https://docs.pamopay.co/errors/BAD_CUSTOMER_REF",
    "request_id": "req_5f3a9c2b1d4e6f7a8b9c0d1e"
  }
}

Quote request_id when you write to us; it finds the call without anybody grepping by timestamp.

All error codes

Every code, scope and route on this site is rendered from the API's own source.