Skip to main content
GET
Fetch payment

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

id
string<uuid>
required

The unique identifier of the payment in our system.

Response

A payment: one request to collect the amount of an invoice through a payment provider, with its method, due date and status. An invoice can have several. A payment that the tenant's ERP issues and holds is an external payment.

id
string
required

The unique identifier of the payment in our system.

Example:

"3c90c3cc-0d44-4b50-8888-8dd25736052a"

amount
number
required

Amount charged by the payment, in cents.

Must be a multiple of 1
dueDate
string<date> | null
required

Due date of the payment charge. Null when the payment has no due date.

paymentMethod
enum<string>
required

How the payment is collected: pix, bank_slip (boleto), bolepix (boleto payable via Pix), credit_card, or bank_transfer.

Available options:
bolepix,
bank_slip,
pix,
credit_card,
bank_transfer
status
enum<string>
required

Current status of the payment: created (registered at the provider), pending (awaiting settlement), paid, failed, canceled, or expired.

Available options:
created,
pending,
paid,
failed,
canceled,
expired
provider
enum<string>
required

The payment provider that collects the payment.

Available options:
celcash,
omie,
asaas,
contaazul

The payment link: the page at the payment provider where the customer pays. Null when the payment provider gave none.

Example:

"https://www.asaas.com/i/abc123def456"