---
updatedAt: 2025-06-12T21:08:29.000Z
agentTools:
  projectIndex: https://docs.beeteller.com/llms.txt
---

# Create BRL Payout order - Using bank account

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "merchant-api-v30",
    "version": "3.0-latam"
  },
  "servers": [
    {
      "url": "https://api-test.beeteller.com/gtw/3.0"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/payout/#bankaccount": {
      "post": {
        "summary": "Create BRL Payout order - Using bank account",
        "description": "",
        "operationId": "create-brl-payout-order-using-bank",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Your token generated in authentication step. Using Bearer prefix",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "idempotency-key",
            "in": "header",
            "description": "A random key to avoid duplicated requests. We suggest using UUID v4 as key.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "7c6adaa5-2eac-43d1-89d2-46a41cedbe22"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "value",
                  "currency",
                  "authCode",
                  "receiver",
                  "bankAccount"
                ],
                "properties": {
                  "value": {
                    "type": "number",
                    "description": "The amount you will transfer to the receiver. Up to 2 decimal places.",
                    "default": 1000.85,
                    "format": "float"
                  },
                  "currency": {
                    "type": "string",
                    "description": "The currency from the \"value\" field",
                    "default": "BRL",
                    "enum": [
                      "BRL"
                    ]
                  },
                  "merchantReference": {
                    "type": "string",
                    "description": "With up to 64 characters, this field is optional and allows you to provide an internal reference of your own.",
                    "default": "your-reference"
                  },
                  "authCode": {
                    "type": "string",
                    "description": "The 2FA code, it's generated using the TOTP algorithm and your secret.",
                    "default": "874531"
                  },
                  "receiver": {
                    "type": "object",
                    "description": "Customer's data from the one who will receive the funds.",
                    "required": [
                      "name",
                      "documentType",
                      "documentNumber",
                      "email"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Customer's full name",
                        "default": "Jose Silva"
                      },
                      "documentType": {
                        "type": "string",
                        "description": "Customer's document type",
                        "default": "CPF",
                        "enum": [
                          "CPF",
                          "CNPJ"
                        ]
                      },
                      "documentNumber": {
                        "type": "string",
                        "description": "The customer's document number. It must match with document type and be a valid one, otherwise the order creation will be rejected.",
                        "default": "83825321282"
                      },
                      "email": {
                        "type": "string",
                        "description": "Customer's valid email",
                        "default": "jose@beeteller.com"
                      }
                    }
                  },
                  "bankAccount": {
                    "type": "object",
                    "description": "The receiver's bank account details. He must be the owner of the informed account",
                    "required": [
                      "accountNumber",
                      "bank",
                      "accountType",
                      "bankBranch"
                    ],
                    "properties": {
                      "accountNumber": {
                        "type": "string",
                        "description": "The full account number, including check digit. (Only numbers)",
                        "default": "938271"
                      },
                      "bank": {
                        "type": "string",
                        "description": "The bank's code. You can check every available bank in \"Supplementary Endpoints\" -> \"Banks by country\" section",
                        "default": "550"
                      },
                      "accountType": {
                        "type": "string",
                        "description": "The account's type. You can check more details in \"Account's type\" section.",
                        "default": "CACC",
                        "enum": [
                          "CACC",
                          "SVGS",
                          "TRAN"
                        ]
                      },
                      "bankBranch": {
                        "type": "string",
                        "description": "The account's bank branch code (Only numbers)",
                        "default": "0001"
                      }
                    }
                  },
                  "urlWebhook": {
                    "type": "string",
                    "description": "Optional URL which we'll use to send you callbacks for the created order"
                  },
                  "clientIp": {
                    "type": "string",
                    "description": "Your customer's IP from his Device",
                    "default": "44.31.89.173"
                  },
                  "clientDatetimeRequest": {
                    "type": "string",
                    "description": "The timestamp your customer has requested the order",
                    "default": "2022-01-17 11:16:08.630407-03:00",
                    "format": "date-time"
                  },
                  "clientBrowserUserAgent": {
                    "type": "string",
                    "description": "Your customer's browser agent from the requester device",
                    "default": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "201",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"id\": \"3cbce76b-c8c5-4e9a-aa8e-76695b5255aa\",\n    \"currency\": \"BRL\",\n    \"value\": 2.0,\n    \"feeValue\": 0.2,\n    \"status\": \"PENDING\",\n    \"createdAt\": \"2023-08-17T10:10:57.143755-03:00\",\n    \"paidAt\": null,\n    \"merchantReference\": \"My Reference\",\n    \"receiver\": {\n        \"name\": \"Beeteller Payer\",\n        \"documentNumber\": \"111111111\",\n        \"documentType\": \"CPF\",\n        \"email\": \"beeteller@beeteeller.com\"\n    },\n    \"bankAccount\": {\n        \"bank\": \"550\",\n        \"bankBranch\": \"0392\",\n        \"accountNumber\": \"321312321\",\n        \"accountType\": \"SVGS\"\n    },\n    \"cancellationReason\": \"\",\n    \"redirectUrl\": \"https://checkout.beeteller.com/payout/3cbce76b-c8c5-4e9a-aa8e-76695b5255aa\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "3cbce76b-c8c5-4e9a-aa8e-76695b5255aa"
                    },
                    "currency": {
                      "type": "string",
                      "example": "BRL"
                    },
                    "value": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "feeValue": {
                      "type": "number",
                      "example": 0.2,
                      "default": 0
                    },
                    "status": {
                      "type": "string",
                      "example": "PENDING"
                    },
                    "createdAt": {
                      "type": "string",
                      "example": "2023-08-17T10:10:57.143755-03:00"
                    },
                    "paidAt": {},
                    "merchantReference": {
                      "type": "string",
                      "example": "My Reference"
                    },
                    "receiver": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "example": "Beeteller Payer"
                        },
                        "documentNumber": {
                          "type": "string",
                          "example": "111111111"
                        },
                        "documentType": {
                          "type": "string",
                          "example": "CPF"
                        },
                        "email": {
                          "type": "string",
                          "example": "beeteller@beeteeller.com"
                        }
                      }
                    },
                    "bankAccount": {
                      "type": "object",
                      "properties": {
                        "bank": {
                          "type": "string",
                          "example": "550"
                        },
                        "bankBranch": {
                          "type": "string",
                          "example": "0392"
                        },
                        "accountNumber": {
                          "type": "string",
                          "example": "321312321"
                        },
                        "accountType": {
                          "type": "string",
                          "example": "SVGS"
                        }
                      }
                    },
                    "cancellationReason": {
                      "type": "string",
                      "example": ""
                    },
                    "redirectUrl": {
                      "type": "string",
                      "example": "https://checkout.beeteller.com/payout/3cbce76b-c8c5-4e9a-aa8e-76695b5255aa"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Invalid 2FA code": {
                    "value": "{\n    \"errors\": {\n        \"authCode\": \"Without authorization. The auth code is wrong.\"\n    }\n}"
                  },
                  "Missing fields": {
                    "value": "{\n    \"errors\": {\n        \"value\": \"Required field.\",\n        \"currency\": \"Required field.\",\n        \"authCode\": \"Required field.\",\n        \"name\": \"Required field.\",\n        \"documentType\": \"Required field.\",\n        \"documentNumber\": \"Required field.\",\n        \"email\": \"Required field.\",\n        \"bank\": \"Required field.\",\n        \"accountNumber\": \"Required field.\",\n        \"accountType\": \"Required field.\",\n        \"bankAccount\": \"Required field.\"\n    }\n}"
                  },
                  "Invalid fields": {
                    "value": "{\n    \"errors\": {\n        \"value\": \"The value must be a valid number and higher than zero\",\n        \"currency\": \"Invalid currency\",\n        \"bank\": \"Only numbers are acceptable\",\n        \"bankBranch\": \"Invalid bank branch\",\n        \"accountNumber\": \"Only numbers are acceptable\",\n        \"accountType\": \"The only possible values are CACC, SVGS, TRAN\",\n        \"documentNumber\": \"Invalid document number\",\n        \"documentType\": \"The only possible values are CNPJ CPF\",\n        \"bank\": \"Invalid bank code\",\n        \"accountNumber\": \"The min length is 3 characters\",\n        \"urlWebhook\": \"Invalid URL content\",\n        \"merchantReference\": \"The max length is 64 characters\",\n        \"value\": \"Your account has no balance.\",\n        \"value\": \"This value is outside our operating limits.\"\n    }\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Invalid 2FA code",
                      "type": "object",
                      "properties": {
                        "errors": {
                          "type": "object",
                          "properties": {
                            "authCode": {
                              "type": "string",
                              "example": "Without authorization. The auth code is wrong."
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Missing fields",
                      "type": "object",
                      "properties": {
                        "errors": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "currency": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "authCode": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "name": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "documentType": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "documentNumber": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "email": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "bank": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "accountNumber": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "accountType": {
                              "type": "string",
                              "example": "Required field."
                            },
                            "bankAccount": {
                              "type": "string",
                              "example": "Required field."
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Invalid fields",
                      "type": "object",
                      "properties": {
                        "errors": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "string",
                              "example": "This value is outside our operating limits."
                            },
                            "currency": {
                              "type": "string",
                              "example": "Invalid currency"
                            },
                            "bank": {
                              "type": "string",
                              "example": "Invalid bank code"
                            },
                            "bankBranch": {
                              "type": "string",
                              "example": "Invalid bank branch"
                            },
                            "accountNumber": {
                              "type": "string",
                              "example": "The min length is 3 characters"
                            },
                            "accountType": {
                              "type": "string",
                              "example": "The only possible values are CACC, SVGS, TRAN"
                            },
                            "documentNumber": {
                              "type": "string",
                              "example": "Invalid document number"
                            },
                            "documentType": {
                              "type": "string",
                              "example": "The only possible values are CNPJ CPF"
                            },
                            "urlWebhook": {
                              "type": "string",
                              "example": "Invalid URL content"
                            },
                            "merchantReference": {
                              "type": "string",
                              "example": "The max length is 64 characters"
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "application/json": {
                "examples": {
                  "Without payout permission": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```