Transactions

Methods for listing and retrieving transactions in B2BINPAY DeFi API

Get list

get

Get list of entities

Authorizations
x-api-keystringRequired

Provide API key in X-API-Key header

Path parameters
deploymentIdstring · uuidRequired

Deployment unique identifier

Example: 123e4567-e89b-12d3-a456-426614174000
Query parameters
idstringOptional

Filter by specific transaction ID

Example: 123e4567-e89b-12d3-a456-426614174000
operationIdstringOptional

Filter by operation ID (same as invoiceId)

Example: 123e4567-e89b-12d3-a456-426614174000
operationTypesone ofOptional

Filter by operation type

Example: ["invoice","claim"]
string · enumOptionalPossible values:
or
statusesone ofOptional

Filter by transaction statuses (multiselect)

Example: ["EXECUTED","PENDING"]
string · enumOptionalPossible values:
or
txHashstringOptional

Filter by transaction hash (text includes)

Example: 0x1234567890abcdef
currencyIdsone ofOptional

Filter by currency IDs

Example: ["1-0xdac17f958d2ee523a2206206994597c13d831ec7","1-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"]
string · min: 1Optional
or
string[]Optional
createdFromstringOptional

Filter transactions created after this date (ISO 8601)

Example: 2024-01-01T00:00:00.000Z
createdTostringOptional

Filter transactions created before this date (ISO 8601)

Example: 2024-12-31T23:59:59.999Z
updatedFromstringOptional

Filter transactions updated after this date (ISO 8601)

Example: 2024-01-01T00:00:00.000Z
updatedTostringOptional

Filter transactions updated before this date (ISO 8601)

Example: 2024-12-31T23:59:59.999Z
isClaimedone ofOptional

Filter by claimed status (true for claimed, false for unclaimed)

Example: false
booleanOptional
or
anyOptional
sortBystring · enumOptional

Field to sort by

Default: createdAtExample: idPossible values:
sortOrderstring · enumOptional

Sort order (ascending or descending)

Default: descExample: descPossible values:
pagenumberOptional

Page number (starts from 1)

Default: 1Example: 1
pageSizenumber · max: 100Optional

Number of items per page (max 100)

Default: 10Example: 10
Responses
chevron-right
200

Paginated list

application/json
totalnumberRequired

Total number of items across all pages

Example: 50
pagenumberRequired

Current page number (starts from 1)

Example: 1
pageSizenumberRequired

Number of items per page

Example: 10
get
/api/v1/deployments/{deploymentId}/transactions

Get by ID

get

Get entity by ID

Authorizations
x-api-keystringRequired

Provide API key in X-API-Key header

Path parameters
deploymentIdstring · uuidRequired

Deployment unique identifier

Example: 123e4567-e89b-12d3-a456-426614174000
transactionIdstringRequired

Transaction ID

Example: 1234567890123456789
Responses
chevron-right
200

Entity retrieved successfully

application/json
canClaimbooleanRequired

Can this invoice be claimed

Example: false
isClaimedbooleanRequired

Whether this transaction has been claimed

Example: false
get
/api/v1/deployments/{deploymentId}/transactions/{transactionId}

Last updated

Was this helpful?