Skip to main content

Search Payment Links

API data

API Gateway
This API is used for payment gateway operations:

You can retrieve details of a payment link by its ID by calling the endpoint below:

GET /v1/paymentlink/information?id=<guid>

Via REST request.

Data dictionary - Parameters

PROPERTYDESCRIPTIONTYPELOCATIONREQUIRED
idIdentifier of the payment link to retrieve.guidqueryyes
Success
{
"id": "aed32670-c3e5-4192-8ab0-0e96f92e3408",
"sellerDocumentNumber": "28249206000179",
"sellerName": "SO PAGUE ",
"description": "Teste",
"value": 10.50,
// Apenas um dos campos abaixo vai estar preenchido: qttyInstallments ou qttyInstallmentsCustom
"qttyInstallments": 12,
"qttyInstallmentsCustom": [3, 6, 9, 12],
"qttyInstallmentsIntFree": 6,
"installmentsFee": 1.5,
"operationDate": "<datetime>",
"expirationDate": "<datetime>",
"link": ".../teste/aed32670-c3e5-4192-8ab0-0e96f92e3408",
"message": "Olá! Estou enviando um link para você fazer o pagamento para NOME COBRADOR (01234567890123).\r\n\r\nDescrição: Teste\r\nValor: R$ 10,50\r\nVocê pode pagar em até 12x!\r\n\r\nLink: .../teste/aed32670-c3e5-4192-8ab0-0e96f92e3408\r\n\r\nInstruções: Basta clicar no link, preencher os dados solicitados, escolher a opção de pagamento que melhor atende suas necessidades e clicar em Pagar. Você pode pagar de onde quiser! :)",
"status": 9,
"statusFormat": "Desativado",
"paymentDate": "<datetime>",
"paymentValue": null,
"paymentQttyInstallments": 6,
"paymentAuthorizationCode": "149674",
"paymentResultId": "020080286103040952150000006201850000000000",
"history": [
{
"id": "05874f86-9167-4f02-8af5-4132d4541a4b",
"idPaymentLink": "aed32670-c3e5-4192-8ab0-0e96f92e3408",
"reason": null,
"historyDate": "<datetime>",
"status": 1,
"statusFormat": "Em Aberto"
},
{
"id": "d12192a0-1670-4d0a-a57d-5208d8d1652c",
"idPaymentLink": "aed32670-c3e5-4192-8ab0-0e96f92e3408",
"reason": null,
"historyDate": "<datetime>",
"status": 9,
"statusFormat": "Desativado"
}
]
}

Data dictionary - Response

PROPERTYDESCRIPTIONTYPELOCATIONREQUIRED
idPayment link identifierStringBodyyes
sellerDocumentNumberSeller document numberStringBodyyes
sellerNameSeller nameStringBodyyes
descriptionPayment link descriptionStringBodyyes
valuePayment link amountIntBodyyes
qttyInstallmentsAllowed installments. Present only when qttyInstallmentsCustom is not providedIntBodyconditional
qttyInstallmentsCustomArray of custom installment options. Present only when qttyInstallments is not providedArray[Int]Bodyconditional
qttyInstallmentsIntFreeNumber of interest-free installmentsIntBodyyes
installmentsFeeInterest rate applied to installments greater than qttyInstallmentsIntFree (e.g., 1.5 = 1.5%)doubleBodyyes
operationDateOperation dateDateBodyyes
expirationDateLink expiration dateDateBodyyes
linkPayment link URLStringBodyyes
messagePayment link messageStringBodyyes
statusPayment link statusIntBodyyes
statusFormatStatus labelStringBodyyes
paymentDateDate the link was paidDateBodyyes
paymentValueAmount paidDecimalBodyyes
paymentQttyInstallmentsNumber of paid installmentsIntBodyyes
paymentAuthorizationCodePayment authorization codeStringBodyyes
paymentResultIdPayment result ID (can be used as paymentId in search/cancel endpoints).StringBodyno
historyPayment link status historyListBodyyes

Payment link status values:

  • 1 = Em Aberto
  • 2 = Pago
  • 3 = Expirado
  • 9 = Desativado
  • 99 = Falha

You can also search and retrieve a list of all payment links created by your account by calling the endpoint below:

GET /v1/paymentlink/list?initialPaymentDate={initialPaymentDate}&finalPaymentDate={finalPaymentDate}&status={status}&pageNumber={pageNumber}&pageSize={pageSize}&columnOrder={columnOrder}&sortDirection={sortDirection}

Data dictionary - Query parameters

PROPERTYDESCRIPTIONTYPEREQUIRED
initialPaymentDatePayment date interval (start)Dateyes
finalPaymentDatePayment date interval (end)Dateyes
statusPayment link statusIntyes
pageNumberPage numberIntno
pageSizePage sizeIntno
columnOrderSort columnStringno
sortDirectionSort directionStringno
Success
{
"paginacao": {
"numeroPagina": 1,
"qtdeItensPagina": 1,
"tamanhoPagina": 10,
"totalPaginas": 1,
"qtdeItensTotal": 1
},
"itens": [
{
"id": "aed32670-c3e5-4192-8ab0-0e96f92e3408",
"description": "Teste",
"value": 10.50,
// Apenas um dos campos abaixo vai estar preenchido: qttyInstallments ou qttyInstallmentsCustom
"qttyInstallments": 12,
"qttyInstallmentsCustom": [3, 6, 9, 12],
"qttyInstallmentsIntFree": 6,
"installmentsFee": 1.5,
"status": 9,
"statusFormat": "Desativado",
"operationDate": "2024-09-02T11:55:58.7093323",
"paymentDate": null,
"payer": null,
"paymentResultId": "020080286103040952150000006201850000000000"
}
]
}

Data dictionary - Response

PROPERTYDESCRIPTIONTYPELOCATIONREQUIRED
paginacao.numeroPaginaCurrent page numberIntBodyyes
paginacao.qtdeItensPaginaNumber of items on the current pageIntBodyyes
paginacao.tamanhoPaginaPage sizeIntBodyyes
paginacao.totalPaginasTotal pagesIntBodyyes
paginacao.qtdeItensTotalTotal item countIntBodyyes
itens.idPayment link identifierStringBodyyes
itens.descriptionPayment link descriptionStringBodyyes
itens.valuePayment link amountDecimalBodyyes
itens.qttyInstallmentsAllowed installments (present only when qttyInstallmentsCustom is not provided)IntBodyconditional
itens.qttyInstallmentsCustomArray of custom installment options (present only when qttyInstallments is not provided)Array[Int]Bodyconditional
itens.qttyInstallmentsIntFreeNumber of interest-free installmentsIntBodyyes
itens.installmentsFeeInterest rate applied to installments greater than qttyInstallmentsIntFree (e.g., 1.5 = 1.5%)doubleBodyyes
itens.statusPayment link statusIntBodyyes
itens.statusFormatStatus labelStringBodyyes
itens.operationDateOperation dateDateTimeBodyyes
itens.paymentDatePayment dateDateTimeBodyno
itens.payerPayerStringBodyno
itens.paymentResultIdPayment result ID (can be used as paymentId in search/cancel endpoints).StringBodyno