Skip to content
v0.3

cart.set_payer_tax_id

Attach the payer’s document (tax_id/CPF) to the cart, collected at payment time. Anonymous (cart_id).

  • Scope: public
  • System: no
  • Reachable from: POST /v1/cart/commands/cart.set_payer_tax_id — an ANONYMOUS face: x-forge-store is required, no credential is sent, and it is never on /v1/commands/* · MCP tool cart.set_payer_tax_id
  • Events: none — A checkout step on session state; the value is frozen onto the order at place_order, which emits.
{
"properties": {
"cart_id": {
"minLength": 1,
"type": "string"
},
"tax_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"cart_id",
"tax_id"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"cart_id": {
"type": "string"
}
},
"required": [
"cart_id"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)