---
title: "Pagar boleto em stage"
method: POST
path: "/pay"
---

# Pagar boleto em stage

`POST /pay`

Realize o pagamento de um boleto ou QR Code em ambiente de Stage através desta API, podendo auxiliar em testes no fluxo de gestão de faturas.

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `id` string, required

## Response `200`

200

- object
  - `id` string
  - `amountTotal` integer
  - `status` string
  - `documentUrl` string
  - `buyer` object
    - `name` string
    - `document` string
    - `email` string
    - `type` string
    - `address` object
      - `street` string
      - `number` string
      - `district` string
      - `city` string
      - `state` string
      - `complement` string
      - `zip_code` string
  - `seller` object
    - `businessId` string
    - `name` string
    - `document` string
    - `type` string
  - `bankSlip` object
    - `barcode` string
    - `digitable` string
    - `registered` boolean
    - `amountPaid` integer
    - `url` string
    - `fine` integer
    - `interest` integer
    - `documentSequence` integer
    - `interestMonthlyPercent` number
    - `finePercent` integer
    - `fineValue` integer
    - `discountPercent` number
    - `discountValue` integer
    - `billType` string
    - `taxType` unknown
    - `allowChangeAmount` unknown
    - `minAmount` unknown
  - `pix` unknown
  - `services` object[]
    - `name` string
    - `description` string
    - `amount` integer
  - `paymentTerms` object
    - `dueDate` string
    - `availableDate` unknown
    - `interest` object
      - `value` integer
      - `type` string
    - `fine` object
      - `value` integer
      - `type` string
      - `startAt` string
    - `discount` object
      - `value` integer
      - `type` string
      - `dueDate` unknown
  - `payments` object[]
    - `id` string
    - `state` string
    - `createdAt` string
    - `finalizedAt` unknown
    - `scheduleDate` unknown
    - `amount` integer
    - `order` integer
    - `interest` integer
    - `fine` integer
  - `paymentForms` string[]
  - `additionalInformation` unknown[]
    - unknown
  - `createdAt` string
  - `authenticationId` string
  - `notification` object
    - `id` string
    - `channel` string
    - `destination` object
      - `name` string
      - `contact` string
    - `schedules` object[]
      - `rule` string
      - `status` string
      - `scheduledTo` string
      - `active` boolean
  - `taxInfo` unknown
  - `recurrence` unknown

## Other responses

- `400` — 400
- `401` — 401
- `500` — 500

---

[API](https://skmtc.net/cora/apis/boletos.md) · [All operations](https://skmtc.net/cora/apis/boletos/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cora/boletos/versions/c1a8281b252f/schema)
