---
updatedAt: 2026-06-03T13:01:34.000Z
agentTools:
  projectIndex: https://docs.beeteller.com/v1.0-international-pix/llms.txt
---

# Creating a Pix Transaction

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "international-pix",
    "version": "1.0-international-pix"
  },
  "servers": [
    {
      "url": "https://api-test.beeteller.com/pix-pos"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/transaction/": {
      "post": {
        "summary": "Creating a Pix Transaction",
        "description": "",
        "operationId": "creating-pix-transaction",
        "parameters": [
          {
            "name": "idempotency-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "7c6adaa5-2eac-43d1-89d2-46a41cedbe22"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "value",
                  "currency",
                  "document"
                ],
                "properties": {
                  "value": {
                    "type": "number",
                    "default": 1000.85,
                    "format": "float"
                  },
                  "currency": {
                    "type": "string",
                    "description": "Currency in which the merchant will receive the funds in your country.",
                    "default": "USD",
                    "enum": [
                      "USD",
                      "EUR",
                      "PYG",
                      "UYU",
                      "ARS"
                    ]
                  },
                  "document": {
                    "type": "string",
                    "description": "Brazilian Tax ID number, known as \"CPF\" or \"CNPJ\" will be used to pay this transaction.",
                    "default": "81594800081"
                  },
                  "reference": {
                    "type": "string",
                    "description": "Your system internal reference.",
                    "default": "123141241231"
                  },
                  "merchant_id": {
                    "type": "string",
                    "description": "Merchant identifier. Use the identifier of a previously registered merchant, or provide merchant details in the optional merchant object to create or update the merchant in the same request. The identifier may be supplied here or in merchant.merchant_id. If both are provided, they must match.",
                    "default": "1091"
                  },
                  "url_webhook": {
                    "type": "string"
                  },
                  "expiration_in_seconds": {
                    "type": "integer",
                    "default": 1800,
                    "format": "int32"
                  },
                  "soft_descriptor": {
                    "type": "string",
                    "description": "Optional field used to display the final merchant’s name to the customer. After the PIX QR Code is scanned, the soft_descriptor is shown to help the customer confirm the transaction recipient before completing the payment."
                  },
                  "merchant": {
                    "type": "object",
                    "properties": {
                      "merchant_id": {
                        "type": "string",
                        "description": "Merchant identifier in your system. Required here if merchant_id is not provided at the request root. If both identifiers are provided, they must match."
                      },
                      "name": {
                        "type": "string",
                        "description": "Merchant name. Required when merchant is provided; must not be blank. Example: Jose Store."
                      },
                      "city": {
                        "type": "string",
                        "description": "City where the merchant operates. Required when merchant is provided; must not be blank. Example: Ciudad del Este."
                      },
                      "industry": {
                        "type": "string",
                        "description": "Merchant industry. Provide this field or iso_industry. Takes precedence when both fields are provided. Accepted values: EDUCATIONAL, RETAIL, OTHERS, TOURISM, HEALTH, GAMBLING, MARKETING, TRANSPORTATION, FOOD_SERVICE, HOUSING_SERVICES, SOFTWARE_SERVICES, TELECOM, FINANCIAL_SERVICES, LEGAL, PROFESSIONAL_SERVICES, HOME_SERVICES, ENTERTAINMENT, ANIMAL_CARE, GOVERNMENT_PAYMENTS."
                      },
                      "iso_industry": {
                        "type": "string",
                        "description": "Numeric merchant category code (MCC), supplied as a string. Required when industry is omitted. In that case, it must contain digits and represent a value from 1 to 9999; the API maps it to an industry, falling back to OTHERS when no mapping is found. Example: \"5411\", following ISO 18245:2023 — Retail financial services."
                      }
                    },
                    "description": "Optional merchant details. Creates a merchant or updates its name, city and industry for the authenticated account, using merchant_id from the request or this object. The merchant is linked to the transaction. Provide name, city, and either industry or iso_industry. When both industry fields are provided, industry takes precedence.",
                    "required": [
                      "name",
                      "city"
                    ]
                  }
                }
              },
              "examples": {
                "Create transaction with merchant": {
                  "summary": "Create transaction with merchant",
                  "value": {
                    "value": 1000.85,
                    "currency": "USD",
                    "document": "81594800081",
                    "reference": "123141241231",
                    "merchant_id": "1091",
                    "url_webhook": "https://example.com/webhooks/pix",
                    "expiration_in_seconds": 1800,
                    "soft_descriptor": "Example Store",
                    "merchant": {
                      "merchant_id": "1091",
                      "name": "Example Store",
                      "city": "Ciudad del Este",
                      "industry": "RETAIL"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Generate payout order": {
                    "value": "{\n    \"id\": \"a0f23d92-f0cf-4021-a27f-d2272f369174\",\n    \"currency\": \"USD\",\n    \"value\": 1000.85,\n    \"method\": \"PIX\",\n    \"created_at\": \"2023-08-09T21:37:08.233702-03:00\",\n    \"payment_info\": {\n        \"qrcode\": \"00020126330014br.gov.bcb.pix01118159480008152040000530398654074992.505802br5908merchant6012campo grande62290525asdasfas1231313jg12g3j1fg6304206f\"\n    },\n    \"currency_to\": \"BRL\",\n    \"value_to_pay\": 4992.50,\n    \"reference\": \"123141241231\",\n    \"ticket_reference\": \"00000007\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "a0f23d92-f0cf-4021-a27f-d2272f369174"
                    },
                    "currency": {
                      "type": "string",
                      "example": "USD"
                    },
                    "value": {
                      "type": "number",
                      "example": 1000.85,
                      "default": 0
                    },
                    "method": {
                      "type": "string",
                      "example": "PIX"
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2023-08-09T21:37:08.233702-03:00"
                    },
                    "payment_info": {
                      "type": "object",
                      "properties": {
                        "qrcode": {
                          "type": "string",
                          "example": "00020126330014br.gov.bcb.pix01118159480008152040000530398654074992.505802br5908merchant6012campo grande62290525asdasfas1231313jg12g3j1fg6304206f"
                        }
                      }
                    },
                    "currency_to": {
                      "type": "string",
                      "example": "BRL"
                    },
                    "value_to_pay": {
                      "type": "number",
                      "example": 4992.5,
                      "default": 0
                    },
                    "reference": {
                      "type": "string",
                      "example": "123141241231"
                    },
                    "ticket_reference": {
                      "type": "string",
                      "example": "00000007"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Missing fields": {
                    "value": {
                      "errors": {
                        "value": "Required field.",
                        "currency": "Required field.",
                        "document": "Required field.",
                        "merchant_id": "Required field."
                      },
                      "errors_details": [
                        {
                          "field": "value",
                          "error_code": "0004",
                          "error_label": "required.field",
                          "error_detail": "Required field.",
                          "action": "Ensure this field is provided and not left empty in the request payload."
                        },
                        {
                          "field": "currency",
                          "error_code": "0004",
                          "error_label": "required.field",
                          "error_detail": "Required field.",
                          "action": "Ensure this field is provided and not left empty in the request payload."
                        },
                        {
                          "field": "document",
                          "error_code": "0004",
                          "error_label": "required.field",
                          "error_detail": "Required field.",
                          "action": "Ensure this field is provided and not left empty in the request payload."
                        },
                        {
                          "field": "merchant_id",
                          "error_code": "0004",
                          "error_label": "required.field",
                          "error_detail": "Required field.",
                          "action": "Ensure this field is provided and not left empty in the request payload."
                        }
                      ]
                    }
                  },
                  "Order's value limits": {
                    "value": {
                      "errors": {
                        "value": "Order's value overflows the max limit value"
                      },
                      "errors_details": [
                        {
                          "field": "value",
                          "error_code": "0066",
                          "error_label": "generic.max.value",
                          "error_detail": "Order's value overflows the max limit value",
                          "action": "Reduce the transaction amount so that it stays within the maximum limit allowed for this operation."
                        }
                      ]
                    }
                  },
                  "Payer is blocked by exceeded transaction limits": {
                    "value": {
                      "errors": {
                        "document": "User is blocked by exceeded transaction limit and/or in risk analysis process. We need additional documentation (income tax + receipt) to increase or release the transaction limit."
                      },
                      "errors_details": [
                        {
                          "field": "document",
                          "error_code": "0100",
                          "error_label": "bad.request.user.blocked",
                          "error_detail": "User is blocked by exceeded transaction limit and/or in risk analysis process. We need additional documentation (income tax + receipt) to increase or release the transaction limit.",
                          "action": "Request and upload customer's documentation (income tax + receipt) to unlock or increase the user's transaction limit."
                        }
                      ]
                    }
                  },
                  "Payer was refused by compliance & risk team.": {
                    "value": {
                      "errors": {
                        "document": "User was refused in the compliance & risk analysis process, unable to generate payment order."
                      },
                      "errors_details": [
                        {
                          "field": "document",
                          "error_code": "0101",
                          "error_label": "bad.request.user.refused",
                          "error_detail": "User was refused in the compliance & risk analysis process, unable to generate payment order.",
                          "action": "Contact the compliance and risk analysis team or review the customer's submitted documentation to verify why the user was refused."
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "object",
                      "properties": {
                        "document": {
                          "type": "string",
                          "example": "User is blocked by exceeded transaction limit and/or in risk analysis process. We need additional documentation (income tax + receipt) to increase or release the transaction limit."
                        }
                      }
                    },
                    "errors_details": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string",
                            "example": "document"
                          },
                          "error_code": {
                            "type": "string",
                            "example": "0100"
                          },
                          "error_label": {
                            "type": "string",
                            "example": "bad.request.user.blocked"
                          },
                          "error_detail": {
                            "type": "string",
                            "example": "User is blocked by exceeded transaction limit and/or in risk analysis process. We need additional documentation (income tax + receipt) to increase or release the transaction limit."
                          },
                          "action": {
                            "type": "string",
                            "example": "Request and upload customer's documentation (income tax + receipt) to unlock or increase the user's transaction limit."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```