Warehouse
Organization warehouse
list all credits in the warehouse inventory
This endpoint returns a paginated list of the organization's warehouse inventory.
API version
2023-06-16inventory reservations
This endpoint returns a paginated list of ALL of the organization's warehouse reservations. Both active, expired and finished.
The amount of items to return
10The page to return
0The organization's id
1b0e4f37-59ca-489a-8a23-ee3152812cb8API version
2023-06-16reserve credits
This endpoint reserves credits from the organization warehouse. They are reserved for 10 minutes. In the meantime the reserver can be sure that the credits are available for them. This is especially useful for marketplaces that don't want the extra complexity of custody-ing user's credits.
API version
2023-06-16The amount of credits to reserve
10The id of the credit to reserve
exPost-2-0x51298f2f1142ecb129a2db5e6afd24f34f2e53f1specific reservation
This endpoint returns a specific warehouse reservation. It can be used to check if a reservation is still active or not.
The organization's id
1b0e4f37-59ca-489a-8a23-ee3152812cb8The reservation id
123e4567-e89b-12d3-a456-426614174000API version
2023-06-16cancel specific reservation
This endpoint cancels a specific warehouse reservation. If the reservation is active the credits will be immediately made available in the organization's warehouse.
API version
2023-06-16finish outstanding reservation
This endpoint finishes a specific warehouse reservation. This moves the credits out of the organization's warehouse and into the receiver's wallet, either as retired credits or the credits themselves.
The organization's id
1b0e4f37-59ca-489a-8a23-ee3152812cb8The reservation id
123e4567-e89b-12d3-a456-426614174000The action to take. One of transfer, transfer_retire
transferPossible values: API version
2023-06-16The id of organization that will be receiving the credits
123e4567-e89b-12d3-a456-426614174000The wallet address that will be receiving the credits
0x51298f2f1142ecb129a2db5e6afd24f34f2e53f1Comment for the transfer
This is a commentLast updated