Skip to main content

Search Payment Instrument Entry by Key

The payment instrument entry search by key will return the complete details of a specific entry, including all related invoice items.

Request

ENDPOINT
/wallet/WALLET_KEY/payment_instrument/PAYMENT_INSTRUMENT_KEY/payment_instrument_entry/PAYMENT_INSTRUMENT_ENTRY_KEY
METHOD
GET

Path Parameters

FieldTypeDescriptionCharacters
wallet_keyuuidv4Unique wallet key in UUID v4 format36
payment_instrument_keyuuidv4Unique payment instrument key in UUID v4 format36
payment_instrument_entry_keyuuidv4Unique entry key in UUID v4 format36

Response

STATUS
200
Response Body: Payment instrument entry details
{
"payment_instrument_entry_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"payment_instrument_entry_amount": 150.00,
"payment_instrument_entry_type": "purchase",
"payment_instrument_entry_status": "concluded",
"payment_instrument_entry_data": {
"merchant_name": "Merchant Name",
"merchant_country": "Merchant Country",
"merchant_postal_code": "Merchant Postal Code",
"merchant_city": "Merchant City",
"merchant_street": "Merchant Street"
},
"invoice_items": [
{
"invoice_item_key": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"invoice_key": "f2cad6b4-2a68-9572-99a7-2849c8d6ecf8",
"wallet_entry_key": null,
"payment_instrument_entry_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"installment_number": 1,
"invoice_description": "Compra no estabelecimento XYZ",
"amount": 150.00,
"used_limit": 150.00,
"invoice_item_status": "concluded",
"invoice_item_due_date": "2024-02-15",
"created_at": "2024-01-15T10:30:00Z"
}
],
"created_at": "2024-01-15T10:30:00Z"
}

Response Body Params

FieldTypeDescriptionCharacters
payment_instrument_entry_key *uuidv4Unique entry identification key in uuid v4 format36
payment_instrument_entry_amount *numberEntry amount-
payment_instrument_entry_type *stringPayment instrument entry typepayment_instrument_entry_type Enumerators
payment_instrument_entry_status *stringPayment instrument entry statuspayment_instrument_entry_status Enumerators
invoice_items *object arrayRelated invoice itemsinvoice_item Object
payment_instrument_entry_dataobjectAdditional datapayment_instrument_entry_data Object
created_at *stringCreation date (ISO 8601 UTC format)-

payment_instrument_entry_data Object (purchase | withdraw)

FieldTypeDescriptionCharacters
merchant_name *stringMerchant establishment name-
merchant_country *stringMerchant establishment country-
merchant_postal_code *stringMerchant establishment postal code-
merchant_city *stringMerchant establishment city-
merchant_street *stringMerchant establishment street-

payment_instrument_entry_data Object (postpaid_card_issuance)

FieldTypeDescriptionCharacters
postpaid_card_issuance_name *stringPostpaid card issuance name-
payment_instrument_key *stringUnique payment instrument key in UUID v4 format36
postpaid_card_key *stringUnique postpaid card key in UUID v4 format36
Note

This entry exists only for consigned card wallet cards.

payment_instrument_entry_type Enumerators

EnumeratorDescription
purchasePurchase
withdrawWithdrawal
postpaid_card_issuancePostpaid card issuance

payment_instrument_entry_status Enumerators

EnumeratorDescription
processing_conclusionEntry in processing conclusion
processing_cancellationEntry in processing cancellation
concludedConcluded entry
canceledCanceled entry
Note

The payment instrument entry can transition directly from processing_conclusion to processing_cancellation and canceled. In this case, no invoice item is created.

invoice_item Object

FieldTypeDescriptionCharacters
invoice_item_key *uuidv4Unique invoice item identification key in uuid v4 format36
invoice_key *uuidv4Unique invoice identification key in uuid v4 format36
wallet_entry_keyuuidv4Unique wallet entry identification key in uuid v4 format36
payment_instrument_entry_keyuuidv4Unique payment instrument entry identification key in uuid v4 format36
installment_number *integerInstallment number-
invoice_description *stringInvoice item description-
amount *numberItem amount-
used_limit *numberUsed limit-
invoice_item_status *stringInvoice item statusinvoice_item_status Enumerators
invoice_item_due_date *stringItem due date (YYYY-MM-DD format)10
created_at *stringCreation date (ISO 8601 UTC format)-

invoice_item_status Enumerators

EnumeratorDescription
concludedConcluded item (invoice to which it belongs has not been paid)
canceledCanceled item

Error Response

STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (pt-br)
translation
404CIN000007Wallet not FoundWallet with key: abeca0d0-a09d-4b3b-a495-40b553422ced was not foundCarteira com a chave: abeca0d0-a09d-4b3b-a495-40b553422ced não foi encontrado
404CIN000017Payment Instrument Not FoundPayment instrument was not foundInstrumento de pagamento não foi encontrado
404CIN000086Not FoundPayment instrument entry was not foundTransação para instrumento de pagamento não foi encontrada