/api/v1/items/[slug]
You can fetch an item by Id. The Response when creating an item contains an item_id variable which can be used. This variable is the same as the button_id which is used for creating a valid checkout button.
Example response:
GET https://debitllama/api/v1/items/89f41c73-7626-4e00-8090-1d91c83c3565
Checkout link
The response contains the link to the checkout in the _links array, you can use it to directly navigate your customers to the checkout page.
Update the item POST
You can disable the item or update it's redirect url using a POST request
Deleting an item is not permanent, it will only disable the checkout, you can re-enable the item again any time.
Request example:
POST https://debitllama/api/v1/items/89f41c73-7626-4e00-8090-1d91c83c3565
Body:
You must specify if you want to delete the item or update the redirect link using type and set the value you want to add.
Last updated