Claims

Methods for listing and executing invoice claims and batch collections in B2BINPAY DeFi API

Get claimable assets

get

Returns only uncollected deposits (EXECUTED status with isClaimed=false) grouped by invoice+currency

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
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
currencyIdsone ofOptional

Filter by currency IDs

Example: ["1-0x0000000000000000000000000000000000000000","1-0x1111111111111111111111111111111111111111"]
string · min: 1Optional
or
string[]Optional
invoiceIdstringOptional

Filter by invoice ID

Example: 1234567890123456789
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 claimable groups

Example: 15
pagenumberRequired

Current page number

Example: 1
pageSizenumberRequired

Number of items per page

Example: 20
get
/api/v1/deployments/{deploymentId}/claims

Get currencies with claimable balances

get

Returns all currencies that have non-zero claimable balances for the deployment

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
Responses
get
/api/v1/deployments/{deploymentId}/claims/currencies

Last updated

Was this helpful?