Search
K
Comment on page

Endpoints

Baskets

post
https://checkout.tebex.io/api
/baskets
Create a basket that can be used to pay for items
get
https://checkout.tebex.io/api
/baskets/{ident}
Fetch a basket by its identifier
post
https://checkout.tebex.io/api
/baskets/{ident}/packages
Add package to a basket
delete
https://checkout.tebex.io/api
/baskets/{ident}/packages/{row.id}
Remove a row from the basket
post
https://checkout.tebex.io/api
/baskets/{ident}/sales
Add a sale to the basket
post
https://checkout.tebex.io/api
/checkout
Create a checkout request

Payments

get
https://checkout.tebex.io/api
/payments/{txnId}?type=txn_id
Fetch a payment by its transaction ID
post
https://checkout.tebex.io/api
/payments/{txnId}/refund?type=txn_id
Refund a payment by its transaction ID

Recurring Payments

get
https://checkout.tebex.io/api
/recurring-payments/{reference}
Fetch a recurring payment (subscription) by its reference
put
https://checkout.tebex.io/api
/recurring-payments/{reference}
Update a subscription with a new product / amount to pay - replacing the existing product
put
/recurring-payments/{reference}/status
Pause or reactivate a recurring payment
delete
https://checkout.tebex.io/api
/recurring-payments/{reference}
Cancel a recurring payment