> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.yoco.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.yoco.com/_mcp/server.

This problem occurs when the request payload fails validation.

The error response likely contains a list of `errors` with more specific information as to what went
wrong.

## Troubleshooting

* If present in the response, look at the list of `errors`, correct any invalid fields and try the
  request again.

## Example error

```json
{
  "type": "https://developer.yoco.com/docs/api/error-codes/validation",
  "title": "Validation Error",
  "detail": "The request contains one or more validation errors.",
  "status": 400,
  "code": "validation",
  "errors": [
    {
      "detail": "The field is required.",
      "pointer": "#/first_name",
      "code": "missing_required_field"
    }
  ]
}
```