---
title: "Cria saque"
url: "https://devcenter.stone.com.br/apis/v5-docs-legacy/versions/b9aaff36-6dcc-4353-8398-836d6c13dfa5/operations/cria-saque-1"
---

> Full API specification: https://devcenter.stone.com.br/apis/v5-docs-legacy/versions/b9aaff36-6dcc-4353-8398-836d6c13dfa5.md

# Cria saque

`POST` `/recipients/{recipient_id}/withdrawals`

Operation ID: `cria-saque-1`

Rota para realizar o saque para uma **conta bancária** de um **recebedor**.

## Path parameters

- `recipient_id` (string, required) - Código do recebedor

## Request body

Content types: `application/json`

## Responses

- `200` - 200
- `400` - 400

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Pagar.me v5 API (Legado)
  version: 5.0.0
servers:
  - url: https://api.stone.com.br/core/v5
paths:
  /recipients/{recipient_id}/withdrawals:
    post:
      summary: Cria saque
      description: Rota para realizar o saque para uma **conta bancária**  de um
        **recebedor**.
      operationId: cria-saque-1
      parameters:
        - name: recipient_id
          in: path
          description: Código do recebedor
          schema:
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: integer
                  description: Valor da cobrança em centavos
                  format: int32
            examples:
              Request Example:
                value:
                  amount: 100
      responses:
        "200":
          description: "200"
          content:
            application/json:
              examples:
                Result:
                  value: |-
                    {
                          "id": "with_LJ0OkmVcJCVPj4Yp",
                          "amount": 100,
                          "status": "failed",
                          "created_at": "2020-01-16T16:36:39Z",
                          "updated_at": "2020-01-16T16:36:39Z",
                          "bank_account": {
                            "id": "ba_jGXwbQtNASZZrdpE",
                            "holder_name": "Second recipient",
                            "holder_type": "company",
                            "holder_document": "15313587000166",
                            "bank": "341",
                            "branch_number": "12345",
                            "branch_check_digit": "6",
                            "account_number": "12345",
                            "account_check_digit": "6",
                            "type": "checking",
                            "status": "active",
                            "created_at": "2020-01-02T20:23:17Z",
                            "updated_at": "2020-01-02T20:23:17Z",
                            "metadata": {
                              "meta_key": "meta_value"
                            },
                            "recipient": {
                              "id": "rp_yLnAyVpHbQIqZxwO",
                              "name": "Second recipient",
                              "email": "second_recipient@pagar.me",
                              "document": "15313587000166",
                              "description": "Descrição do recebedor 2",
                              "type": "company",
                              "status": "active",
                              "created_at": "2020-01-02T20:23:17Z",
                              "updated_at": "2020-01-02T20:23:17Z"
                            }
                          }
                        }
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: with_LJ0OkmVcJCVPj4Yp
                  amount:
                    type: integer
                    example: 100
                    default: 0
                  status:
                    type: string
                    example: failed
                  created_at:
                    type: string
                    example: 2020-01-16T16:36:39Z
                  updated_at:
                    type: string
                    example: 2020-01-16T16:36:39Z
                  bank_account:
                    type: object
                    properties:
                      id:
                        type: string
                        example: ba_jGXwbQtNASZZrdpE
                      holder_name:
                        type: string
                        example: Second recipient
                      holder_type:
                        type: string
                        example: company
                      holder_document:
                        type: string
                        example: "15313587000166"
                      bank:
                        type: string
                        example: "341"
                      branch_number:
                        type: string
                        example: "12345"
                      branch_check_digit:
                        type: string
                        example: "6"
                      account_number:
                        type: string
                        example: "12345"
                      account_check_digit:
                        type: string
                        example: "6"
                      type:
                        type: string
                        example: checking
                      status:
                        type: string
                        example: active
                      created_at:
                        type: string
                        example: 2020-01-02T20:23:17Z
                      updated_at:
                        type: string
                        example: 2020-01-02T20:23:17Z
                      metadata:
                        type: object
                        properties:
                          meta_key:
                            type: string
                            example: meta_value
                      recipient:
                        type: object
                        properties:
                          id:
                            type: string
                            example: rp_yLnAyVpHbQIqZxwO
                          name:
                            type: string
                            example: Second recipient
                          email:
                            type: string
                            example: second_recipient@pagar.me
                          document:
                            type: string
                            example: "15313587000166"
                          description:
                            type: string
                            example: Descrição do recebedor 2
                          type:
                            type: string
                            example: company
                          status:
                            type: string
                            example: active
                          created_at:
                            type: string
                            example: 2020-01-02T20:23:17Z
                          updated_at:
                            type: string
                            example: 2020-01-02T20:23:17Z
        "400":
          description: "400"
          content:
            application/json:
              examples:
                Result:
                  value: "{}"
              schema:
                type: object
                properties: {}
      deprecated: false
security:
  - sec0: []
components:
  securitySchemes:
    sec0:
      type: http
      scheme: basic
```
