Developer Docs
Hubex
Version 1.1.27

API Docs Version 1.1.27


What's Deleted

POST /payment/webhooks

Handle payment webhooks

POST /payment/customers

Create a customer

GET /payment/customers/{customer_id}

Get a customer

DELETE /payment/customers/{customer_id}

Delete a customer

PATCH /payment/customers/{customer_id}

Update a customer

POST /payment/products

Create a product

GET /payment/products/{product_id}

Get a product

DELETE /payment/products/{product_id}

Delete a product

PATCH /payment/products/{product_id}

Update a product

POST /payment/coupons

Create a coupon

GET /payment/coupons/{coupon_id}

Get a Coupon

DELETE /payment/coupons/{coupon_id}

Delete a coupon

PATCH /payment/coupons/{coupon_id}

Update a Coupon

DELETE /payment/customers/{customer_id}/discounts

Delete a Discount for Customer

POST /payment/promotion-codes

Create a Promotion Code

GET /payment/promotion-codes/{promotion_id}

Retrieve a Promotion Code

PATCH /payment/promotion-codes/{promotion_id}

Update a Promotion Code

GET /payment/prices

Get price list

POST /payment/prices

Create a price

GET /payment/prices/{price_id}

Get a price

PATCH /payment/prices/{price_id}

Update a price

GET /payment/subscriptions

List Subscriptions

POST /payment/subscriptions

Create Subscription

GET /payment/subscriptions/search

Search Subscriptions

GET /payment/subscriptions/{subscription_id}

Get Subscription

DELETE /payment/subscriptions/{subscription_id}

Delete Subscription

PATCH /payment/subscriptions/{subscription_id}

Update Subscription

DELETE /payment/subscriptions/{subscription_id}/discount

Delete a Discount on Subscription

GET /payment/invoices

List all invoices

POST /payment/invoices

Create Invoice

POST /payment/invoices/{invoice_id}/finalize

Finalize Invoice

POST /payment/invoices/{invoice_id}/pay

Pay Invoice

GET /payment/invoices/search

Search Invoices

GET /payment/invoices/{invoice_id}

Get Invoice

DELETE /payment/invoices/{invoice_id}

Delete Invoice

PATCH /payment/invoices/{invoice_id}

Update Invoice

POST /payment/invoices/{invoice_id}/send

Send Invoice

POST /payment/invoices/upcoming

Upcoming Invoices

POST /payment/invoices/upcoming/lines

Upcoming Line Items

POST /payment/invoices/{invoice_id}/void

Void an Invoice

POST /payment/invoices/{invoice_id}/mark_uncollectible

Mark uncollectible

GET /payment/invoices/{invoice_id}/lines

Retrieve an invoice's line items

POST /payment/credit-notes/preview

Preview a credit note

GET /payment/credit-notes

List credit notes

POST /payment/credit-notes

Create a credit note

GET /payment/credit-notes/{credit_note_id}

Get a credit note

PATCH /payment/credit-notes/{credit_note_id}

Update a credit note

POST /payment/credit-notes/{credit_note_id}/void

Void a credit note

GET /payment/credit-notes/{credit_note_id}/lines

Fetch credit note line items

POST /payment/credit-notes/preview/lines

Preview credit note line items

GET /payment/subscription-items

List subscription items

POST /payment/subscription-items

Create a subscription item

GET /payment/subscription-items/{subscription_item_id}

Get a subscription item

DELETE /payment/subscription-items/{subscription_item_id}

Delete a subscription item

PATCH /payment/subscription-items/{subscription_item_id}

Update a subscription item

POST /product

Create Product