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.

full_name (full name, up to 48 characters) and country (country of residence, a two-letter ISO 3166-1 code such as MX) are optional when creating an order, even when you send input_currency.

If either detail is missing, the API responds successfully with web_url and the remaining payment information, but omits address, payment_uri, and tag_memo. Missing payer details do not cause HTTP 400. The integrator must display the gateway link, or a QR encoding that link, so the customer can complete their details and continue payment.

With both valid payer details and a cryptocurrency, the API can provide blockchain data for direct payment. Choose the UI based on payment_uri, not on the presence of currency, amount, status, or expiry. Do not construct a blockchain address or crypto QR from other fields.

FieldTypeMaxDescription
full_namestring48Full name; needed to receive blockchain data.
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.
countrystring2Country of residence, ISO 3166-1 alpha-2 (for example MX, ES).

The fields are optional for order creation. To receive direct blockchain payment data, provide both full_name and country.

  • 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.