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

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

# Obter saque

`GET` `/recipients/{recipient_id}/withdrawals/{withdrawals_id}`

Operation ID: `obter-saque-1`

Rota para realizar a consulta de um saque específico.

## Path parameters

- `recipient_id` (string, required) - Código do recebedor
- `withdrawals_id` (string, required) - Código da transferência

## 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/{withdrawals_id}:
    get:
      summary: Obter saque
      description: Rota para realizar a consulta de um saque específico.
      operationId: obter-saque-1
      parameters:
        - name: recipient_id
          in: path
          description: Código do recebedor
          schema:
            type: string
          required: true
        - name: withdrawals_id
          in: path
          description: Código da transferência
          schema:
            type: string
          required: true
      responses:
        "200":
          description: "200"
          content:
            application/json:
              examples:
                Result:
                  value: |-
                    {
                        "id": "transf_1A68BR3izKHz8Zqr",
                        "amount": 100,
                        "status": "pending",
                        "created_at": "2017-10-27T16:12:56Z",
                        "updated_at": "2017-10-27T16:12:57Z",
                        "bank_account": {
                            "id": "ba_A2Np1QJSyTRXp5mE",
                            "holder_name": "Tony Stark",
                            "holder_type": "individual",
                            "holder_document": "26224451990",
                            "bank": "341",
                            "branch_number": "12345",
                            "branch_check_digit": "6",
                            "account_number": "12345",
                            "account_check_digit": "6",
                            "type": "checking",
                            "status": "active",
                            "created_at": "2017-10-27T16:12:37Z",
                            "updated_at": "2017-10-27T16:12:37Z",
                            "metadata": {
                                "key": "value"
                            },
                            "recipient": {
                                "id": "rp_Acb5NJNiqvf0Y5Xv",
                                "name": "Tony Stark",
                                "email": "tstark@avengers.com",
                                "document": "26224451990",
                                "description": "Recebedor Tony Stark",
                                "type": "individual",
                                "status": "active",
                                "created_at": "2017-10-27T16:12:37Z",
                                "updated_at": "2017-10-27T16:12:37Z"
                            }
                        }
                    }
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: transf_1A68BR3izKHz8Zqr
                  amount:
                    type: integer
                    example: 100
                    default: 0
                  status:
                    type: string
                    example: pending
                  created_at:
                    type: string
                    example: 2017-10-27T16:12:56Z
                  updated_at:
                    type: string
                    example: 2017-10-27T16:12:57Z
                  bank_account:
                    type: object
                    properties:
                      id:
                        type: string
                        example: ba_A2Np1QJSyTRXp5mE
                      holder_name:
                        type: string
                        example: Tony Stark
                      holder_type:
                        type: string
                        example: individual
                      holder_document:
                        type: string
                        example: "26224451990"
                      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: 2017-10-27T16:12:37Z
                      updated_at:
                        type: string
                        example: 2017-10-27T16:12:37Z
                      metadata:
                        type: object
                        properties:
                          key:
                            type: string
                            example: value
                      recipient:
                        type: object
                        properties:
                          id:
                            type: string
                            example: rp_Acb5NJNiqvf0Y5Xv
                          name:
                            type: string
                            example: Tony Stark
                          email:
                            type: string
                            example: tstark@avengers.com
                          document:
                            type: string
                            example: "26224451990"
                          description:
                            type: string
                            example: Recebedor Tony Stark
                          type:
                            type: string
                            example: individual
                          status:
                            type: string
                            example: active
                          created_at:
                            type: string
                            example: 2017-10-27T16:12:37Z
                          updated_at:
                            type: string
                            example: 2017-10-27T16:12:37Z
        "400":
          description: "400"
          content:
            application/json:
              examples:
                Result:
                  value: "{}"
              schema:
                type: object
                properties: {}
      deprecated: false
security:
  - sec0: []
components:
  securitySchemes:
    sec0:
      type: http
      scheme: basic
```
