2 - Queries

Search by Collection Orders

API Method = GetCollectionOrder

Through this method, the customer can check the billing requests through the Document Number we will inform the user after the success of the billing requests (Document Number) or by the Identifier applied by the customer (Identifier).

{
  "method": "GetCollectionOrder",
  "partnerId": 147,
  "businessUnitId": 205,
  "documentNumber": null,
  "identifier": null
}

Description

ParameterDescriptionMandatoryTypeComments
MethodName of the method to be usedYESSTRINGNone
PartnerIdPartner identifier provided by FitBankYESBIGINTNone
BusinessUnitIdBusiness unit identifier provided by FitBankYESBIGINTNone
DocumentNumberOperation document numberNOINTEGERNone
IdentifierID referenceNOSTRINGNone

JSON return from GetCollectionOrder

ParameterDescriptionTypeComments
QrCodeObject concerning QRCode's infoOBJECTNone
HashCodeIdentification code (copy and paste)STRINGBase64 format
ImageQR Code imageSTRINGBase64 format
EndToEndPixInPIX credit identifier provided by the Central BankSTRINGNone
EndToEndRefundPixInPIX refund identifier provided by the Central BankSTRINGNone
BoletoObject concerning Boleto's infoOBJECTIt will only appear for the boleto types.
BarcodeBarcode of the generated boletoSTRINGIt will only appear for the boleto types.
PdfPDF of the generated boletoSTRINGIt will only appear for the boleto types.
ReceiptUrlReceipt templateSTRINGIt will only be sent when the operation is in
"Settled" or "Canceled-Refund" Status
RateInterest and Fine applied on the issuance of the collectionOBJECTIt will only appear for the boleto type and QRCode with Due Date..
FineValueFine applied on the issuance of the collectionDECIMALNone
InterestValueInterest applied on the issuance of the collectionDECIMALNone
RebateObject for rebate details.OBJECTIt will only appear for the boleto types.
RebateValueRebateValue of the boleto refers to the discount amount applied to the total value of the boleto.DECIMALIt will only appear for the boleto types.
ChargeDateInterest charge dateOBJECTNone
DueDatePayment due dateSTRINGYYYY-MM-DD
ExpirationDateCollection Order expiration dateSTRINGYYYY-MM-DD
InterestDateInterest application date (if any)STRINGYYYY-MM-DD
FineDateFine application date (if any)STRINGYYYY-MM-DD
RateValueSettlement fee amountDECIMALNone
DetailsCollection order detailsOBJECTNone
TagsTags added on issuanceSTRINGNone
InstructionsToPayerInstructions that will appear on the PDFSTRINGNone
CollectionOrderTypeCollection order’s typeINTPixQrCodeDinamicDueDate = 0
Boleto = 1
BoletoPixQRCode = 2
PixQRCodeDinamic = 3
DocumentNumberOperation document numberSTRINGNone
IdentifierID referenceSTRINGNone
ReasonCancellation reasonSTRINGIt will only be sent when the operation is in Canceled status
StatusOperation StatusSTRINGNone
StatusDescriptionOperation status descriptionSTRINGNone
PrincipalValuePrincipal amount of the collection orderDECIMALNone
PaymentValuePayment ValueDECIMALNone
PaymentDatePayment dateSTRINGNone
RefundDateRefund DateSTRINGNone
RefundValueRefund ValueDECIMALNone
PayerObject concerning Payer's data-None
NamePayer NameSTRINGNone
TaxNumberPayer's CPF/CNPJSTRINGNone
BankPayer's Bank CodeSTRINGNone
BankBranchPayer's Bank Agency CodeSTRINGNone
BankAccountPayer's Bank AccountSTRINGNone
BankAccountDigitPayer's Bank Account DigitSTRINGNone
CustomerObject concerning customer's dataOBJECTNone
CustomerNameBeneficiary's nameSTRINGNone
CustomerTaxNumberBeneficiary's CPF/CNPJSTRINGNone
ReceiverObject concerning receiver's dataOBJECTNone
ReceiverNameReceiver's nameSTRINGNone
ReceiverTaxNumberReceiver's CPF/CNPJSTRINGNone
SplitValueAmount received by the receiversDECIMALNone

📘

Explanation

The fields: Boleto, Barcode, PDF, Rebate, ChargeDate, Details, Tags and InstructionsToPayer will only appear for the types of the boleto.

CollectionOrder Status

StatusStatus DescriptionTypeDescription
0CreatedSTRING (TEXT)The Collection Order was created
2AnalysingSTRING (TEXT)Payer under review in KYC process
3AuthorizedSTRING (TEXT)Payer Approved in KYC
6RegisteredSTRING (TEXT)The Collection was registered
8CanceledSTRING (TEXT)EXC0004 - Payer failed during the KYC process
EXC0005 - Invalid billing email address
EXC0006 - Collection has expired and payment has not been made
EXC0007 - Divergent data between Payer and Settlement
EXC0011 - Balance insufficient for fee collection
EXC0012 - Payer failed in the validation process
EXC0013 - Manual Cancellation
INF0008- Is a qualified person, you must send a Collection Order again, with the data { Name, Email, Phone, Country, Nationality, Occupation, ...}
9SettledSTRING (TEXT)Completed Billing Order (payment settled)
11Awaiting PaymentSTRING (TEXT)Awaiting Payment
12ErrorSTRING (TEXT)EXC0008 - Internal Processing Error
15Canceled-RefundSTRING (TEXT)INF0010 - Amount refunded. Divergent data between Payer and Settlement
INF0014 - Receiver Account Validation Failed
INF0016 - Amount refunded. Payer is a qualified person.
INF0017 - Amount refunded. Payer screening has failed during the KYC process