---
title: "Pagamento de conta."
method: POST
path: "/billpayment"
tags: ["Payment"]
---

# Pagamento de conta.

`POST /billpayment`

## Request body

- PaymentRequest
  - `clientRequestId` string, required — Identificador do cliente.
  - `amount` number, double, required — Valor a ser pago.
  - `account` string, required — Numero da conta a ser realizado o débito do boleto
  - `transactionIdAuthorize` integer, required — ProtocoloId retornado no endpoint Authorize.
  - `tags` TagParty[], nullable — Meta tag da transacao.
    - `key` string, nullable — Chave da meta tag
    - `value` string, nullable — Valor da meta tag
  - `barCodeInfo` BarCodeParty, required
    - `digitable` string, nullable — Linha digitável - Quando enviada não precisa ser enviado o campo BarCode
    - `barCode` string, nullable — Código de barras - Quando enviada não precisa ser enviado o campo Linha Digitavel

## Response `200`

Ok

- PaymentResponseCelcoinSuccessResponse
  - `status` string, nullable — Status.
  - `version` string, nullable — Versão da api.
  - `body` PaymentResponse
    - `id` string, nullable — Identificador interno gerado pela Celcoin.
    - `clientRequestId` string, nullable — Identificador do cliente.
    - `amount` number, double, nullable — Valor a ser pago.
    - `transactionIdAuthorize` integer — ProtocoloId retornado no endpoint Authorize.
    - `barCodeInfo` BarCodeParty
      - `digitable` string, nullable — Linha digitável - Quando enviada não precisa ser enviado o campo BarCode
      - `barCode` string, nullable — Código de barras - Quando enviada não precisa ser enviado o campo Linha Digitavel

## Other responses

- `400` — Error handled by the application
- `401` — Access Denied
- `403` — Forbidden
- `404` — Not Found
- `500` — Unknown error

---

[API](https://skmtc.net/celcoin/apis/api-para-transa-es.md) · [All operations](https://skmtc.net/celcoin/apis/api-para-transa-es/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/celcoin/api-para-transa-es/revisions/85dd6188a37b/schema)
