Skip to content

KYC fields on POST /orders/

POST /orders/ accepts a series of optional fields with personal data about the end customer. Sending them is useful for billing, logistics, and to personalize the payment experience.

FieldTypeMaxDescription
full_namestring48Full name.
email_clientemail128Email address.
phone_numberstring15Mobile phone.
nifstring12Personal ID (DNI, RFC, CURP, etc.).
home_addressstring256Full address.
address_numberstring56Street / building number.
address_additionalstring64Additional info (floor, door).
citystring28City.
provincestring28Province / state.
zip_codestring12ZIP code.
countrystring2ISO 3166-1 alpha-2 (for example MX, ES).

All are optional at the schema level. Use them if your flow requires it.

  • Do not send sensitive data you do not need. If you only care about the email to send the receipt, do not pass the address.
  • Validate on your side before sending: B4bit Pay applies only basic length and format validations.
  • Do not log these fields in plain text — they are PII. If you need traceability, log only a hash.