---
title: "Pix Cashout"
method: POST
path: "/pix/payment"
---

# Pix Cashout

`POST /pix/payment`

## Request

- Base URL: `https://sandbox.openfinance.celcoin.dev/baas/v2`
- URL: `https://sandbox.openfinance.celcoin.dev/baas/v2/pix/payment`
- Auth: OAuth 2

Retornará o evento de confirmação via webhook **pix-payment-out**


Confira nosso tutorial -> https://developers.celcoin.com.br/docs/pix-cash-out-pagamento

## Request body

- object
  - `amount` number, double, required: Valor da transação.
  - `clientCode` string, required: Código do Cliente
  - `transactionIdentification` string: Identificador único retornado durante a leitura do BRCode.
  - `endToEndId` string: Identificador ponta-a-ponta associado ao pagamento.
  - `initiationType` string, required: Tipo de iniciação do pagamento
  - `paymentType` string, required: Tipo de pagamento
  - `urgency` string: Determina a urgência do pagamento
  - `transactionType` string: Tipo da transação Pix
  - `debitParty` object, required
    - `account` string, required
    - `taxId` string, required
    - `name` string, required
    - `branch` string, required
    - `accountType` string, required
    - `bank` string, required
  - `creditParty` object, required
    - `bank` string, required
    - `account` string, required
    - `branch` string, required
    - `taxId` string, required
    - `name` string, required
    - `accountType` string, required
    - `key` string, required
  - `remittanceInformation` string: Texto a ser informado na transação.
  - `schedule` object: Opcional. Informar a data futura quando desejar realizar um agendamento de Pix.
    - `schedulerDate` string, date-time

## Response `200`

200

- object
  - `status` string
  - `version` string
  - `body` object
    - `id` string
    - `amount` integer
    - `clientCode` string
    - `transactionIdentification` string
    - `endToEndId` string
    - `initiationType` string
    - `paymentType` string
    - `urgency` string
    - `transactionType` string
    - `debitParty` object
      - `account` string
      - `branch` string
      - `taxId` string
      - `name` string
      - `accountType` string
    - `creditParty` object
      - `bank` string
      - `key` string
      - `account` string
      - `branch` string
      - `taxId` string
      - `name` string
      - `accountType` string
    - `remittanceInformation` string

## Other responses

- `400`: 400
- `401`: 401
- `404`: 404
- `500`: 500
- `504`: 504

---

[API](https://skmtc.dev/celcoin/apis/baas-v2.md) - [All operations](https://skmtc.dev/celcoin/apis/baas-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/celcoin/apis/baas-v2/revisions/98ec6869c1f2?raw)
