Skip to main content

kobana banking data

Lookups (bank slips, Pix QR codes)

Commands of kobana banking data. Every global option (Global options) applies here.

CommandHTTPDescription
data bank-billet-queries listGET /v2/data/bank_billet_queriesList Bank Billet Queries
data bank-billet-queries createPOST /v2/data/bank_billet_queriesCreate a Bank Billet Query
data people listGET /v2/data/peopleSearch People
data people createPOST /v2/data/peopleCreate a Person
data people getGET /v2/data/people/{uid}View a Person
data people deleteDELETE /v2/data/people/{uid}Delete a Person
data pix-qrcode-queries listGET /v2/data/pix_qrcode_queriesList Pix QR Code Queries
data pix-qrcode-queries createPOST /v2/data/pix_qrcode_queriesCreate a Pix QR Code Query

data bank-billet-queries list​

List Bank Billet Queries

kobana banking data bank-billet-queries list [OPTIONS]

GET /v2/data/bank_billet_queries

Lists all bank billet queries performed by the authenticated account. Allows filtering by status, tags, creation dates and other parameters.

Query parameters

NameTypeRequiredDescription
pageintegernoPage Number
per_pageintegernoNumber of records per page

Responses

HTTPDescription
200Success in listing bank billet queries

data bank-billet-queries create​

Create a Bank Billet Query

kobana banking data bank-billet-queries create [OPTIONS]

POST /v2/data/bank_billet_queries

Creates a new bank billet query through the digit line or bar code. The query is processed automatically and returns detailed information about the bank billet.

Request body

NameTypeRequiredDescription
uidstringnoUnique record ID in UUID format
statusstringnoQuery status: * pending Pending (only when configured not to process automatically) * success Successfully completed * error Query failed Values: pending, success, error.
error_codestringnoError code when status is error: * bank_billet_unavailable Boleto unavailable: it may have already been paid, canceled or written off * document_not_supported The provider did not confirm the document for payment: the agreement or modality may not be supported * provider_error Provider failure while querying the boleto * unavailable_environment Query available only in production Values: null, bank_billet_unavailable, document_not_supported, provider_error, unavailable_environment.
error_messagestringnoError message when the query is processed but data is not returned.
line_or_barcodestringnoReadable Line or Bar Code, in the formats: Readable Line: 34191.79001 01043.510047 91020.150008 7 75870000001000 Bar Code: 34197758700000010001790010104351004791020150
linestringnoDigitizable Line
barcodestringnoBar code
expire_atstring (date)noDue Date
pay_due_datestring (date)noPayment deadline (grace period), when informed by the originating source
amountnumbernoAmount to pay
minimum_amountnumbernoMinimum amount
maximum_amountnumbernoMaximum amount
original_amountnumbernoOriginal amount
valid_for_paymentbooleannoIndicates whether the boleto is eligible for payment at the time of the query
payment_status_reasonstringnoReason returned when the boleto is not eligible for payment
allow_change_valuebooleannoIndicates whether the payment amount can be changed within the returned limits
allow_partial_paymentbooleannoIndicates whether the originating source allows partial payment
issue_bankobjectnoIssuing bank of the boleto
beneficiaryobjectnoBeneficiary Data
guarantorobjectnoData of the Ultimate Beneficiary
guarantor_drawerobjectnoData of the Drawer Guarantor
payerobjectnoPayer data
fineobjectnoFine
interestobjectnoInterest
discountobjectnoDiscount
external_idstringnoID in your system. Optional for internal control.
custom_dataobjectnoHash with key and value in JSON format.
tagsarray<string>noAssociated tags
created_via_apibooleannoIndicates if the record was created by API
created_atstring (date-time)noDate and time of record creation
updated_atstring (date-time)noDate and time of last record update

More fields and nested objects: kobana schema banking.data.bank-billet-queries.create.

Responses

HTTPDescription
201Bank Billet Query created
422Invalid Bank Billet Query

data people list​

Search People

kobana banking data people list [OPTIONS]

GET /v2/data/people

Lists all people registered in the authenticated account. Allows filtering by external code, person type, document, email, tags and creation period.

Query parameters

NameTypeRequiredDescription
external_codestringnoFilter by External Code. Finds all records whose field equals the string.
kindstringnoFilter by Person Type (Natural or Legal).
document_typestringnoFilter by Document Type (CPF or CNPJ).
document_numberstringnoFilter by Document Number. Finds all records whose field equals the string.
tagsarraynoTags associated with the record.
created_fromstringnoStart date for creation date filter.
created_tostringnoEnd date for creation date filter.
per_pageintegernoNumber of records per page. Maximum of 50.
pageintegernoPage number.

Responses

HTTPDescription
200Records found (page 2 with prev_url)

data people create​

Create a Person

kobana banking data people create [OPTIONS]

POST /v2/data/people

Creates a new person (natural or legal) with the provided information. The person will be associated with the authenticated account.

Request body

NameTypeRequiredDescription
namestringyesFull name or Company Name
uidstring (uuid)noUnique record identifier
nicknamestringnoNickname or Alias
kindstringnoType of Person
external_codestringnoCode or ID in your management system.
birthdaystring (date)noDate of Birth.
document_typestringnoDocument Type. Valid values: CPF, CNPJ
document_numberstringnoDocument Number.
addressesarray<object>noList of Addresses
phonesarray<object>noList of Phone Numbers
emailsarray<object>noList of Emails
tagsarray<string>noTags associated with the record
tag_liststringnoList of tags separated by comma
custom_dataobjectnoAvailable for sending a JSON with a free data structure
notesstringnoNotes. Free text field
created_via_apibooleannoIndicates if the record was created by API
created_atstring (date-time)noDate and time of record creation in the database
updated_atstring (date-time)noDate and time of the last update of the record in the database

More fields and nested objects: kobana schema banking.data.people.create.

Responses

HTTPDescription
201Person created
422Validation error

data people get​

View a Person

kobana banking data people get [UID] [OPTIONS]

GET /v2/data/people/{uid}

Returns detailed information about a specific person, including personal data, addresses, phones, emails and custom data.

Path arguments: uid

Responses

HTTPDescription
200Person found
404Person not found

data people delete​

Delete a Person

kobana banking data people delete [UID] [OPTIONS]

DELETE /v2/data/people/{uid}

Permanently deletes a person from the system. This action cannot be undone.

Path arguments: uid

Responses

HTTPDescription
204Record deleted
404Record not found

data pix-qrcode-queries list​

List Pix QR Code Queries

kobana banking data pix-qrcode-queries list [OPTIONS]

GET /v2/data/pix_qrcode_queries

Lists all Pix QR Code queries performed by the authenticated account. Allows filtering by tags, external_id and other parameters.

Query parameters

NameTypeRequiredDescription
pageintegernoPage Number
per_pageintegernoNumber of records per page
external_idstringnoFilter by external ID
tagsarraynoFilter by tags

Responses

HTTPDescription
200Success in listing Pix QR Code queries

data pix-qrcode-queries create​

Create a Pix QR Code Query

kobana banking data pix-qrcode-queries create [OPTIONS]

POST /v2/data/pix_qrcode_queries

Creates a new Pix QR Code query through the qrcode. The query is processed automatically and returns detailed information about the Pix QR Code.

Request body

NameTypeRequiredDescription
uidstringnoUnique record ID in UUID format
qrcodestringnoPix QR Code for decoding
pix_keystringnoBeneficiary Pix key
expires_atstring (date-time)noQR Code expiration date
finalitystringnoPurpose of payment (payment, withdrawal, change)
amountnumbernoPrincipal amount
amount_changenumbernoChange amount
interestnumbernoInterest amount
finenumbernoFine amount
discountnumbernoDiscount amount
total_amountnumbernoTotal amount to pay
beneficiaryobjectnoBeneficiary/Receiver Data
debtorobjectnoDebtor Data
descriptionstringnoMessage to payer
can_be_paidbooleannoIndicates whether the QR Code can be paid
can_be_paid_with_different_valuebooleannoIndicates whether it can be paid with a different amount
cannot_be_paid_reasonstringnoReason why it cannot be paid
external_idstringnoID in your system. Optional for internal control.
custom_dataobjectnoHash with key and value in JSON format.
tagsarray<string>noTags associated for categorization
created_atstring (date-time)noDate and time of record creation
updated_atstring (date-time)noDate and time of last record update

More fields and nested objects: kobana schema banking.data.pix-qrcode-queries.create.

Responses

HTTPDescription
201Pix QR Code Query created
422Invalid Pix QR Code Query