# Quable Billing

By
The Quable Team

Quable x Stripe
How to link Quable partner to your Stripe account
How to receive payment
-- One time payment
-- Subscription payment



# Quable x Stripe

Stripe is a leading tech firm offering a sturdy platform for processing online payments and establishing financial infrastructure. Quable Payment, on the other hand, is an integrated payment solution that harnesses the potent functionalities of Stripe, thereby providing a thorough and secure payment experience for Quable's partners.


# How to link Quable partner to your Stripe account

Quable payment is only accessible through its API at https://billing.quable.io.

To link your stripe account with Before you begin, ensure you have the following:

  • Quable Partner ID: Get it from your partner dashboard
  • Quable Partner API Secret: Get it from your partner dashboard

Then, make a authenticated post request on endpoint /account-link

  • Authenticated post request

This request will return the following response :

{
    "status": "ACCOUNT_LINK_INCOMPLETE",
    "message": "Follow the link provided and complete your stripe account information",
    "url": "https://connect.stripe.com/setup/s/acct_1kpfTsIhWHJvfsSR/7TzKra9iXi2R"
}

Open the link in browser to complete the process.


# How to received payment ?

Two payment methods are available: one-time payments and subscription payments. Each method generates a unique link that can be share to customer for the completion of the payment process.

# One time payment

# To initiate a one-time payment, the following payload can be used:

{
  "appId": "demo-app",
  "customer": "demo",
  "price": {
    "priceData": {
      "product": {
        "name": "App payment",
        "description": "Payment for app",
        "images": []
      },
      "amount": 15,
      "currency": "EUR"
    }
  },
  "appCheckoutId": "9363ee98-8ca0-4284-94d1-879bd774a6aa",
  "quantity": 1,
}

You will get an url to share with customer

Initiate a one-time payment
Initiate a one-time payment


# Retrieve a list of one time payments

You can use the following payload for filtering:

{
  "customer": "<customer>",
  "appId": "<custom-app-id>",
  "status": "paid"
}

and you will get the list of payments.

Retrieve a list of one time payments
Retrieve a list of one time payments


# Subscription payment

For initiating a subscription payment,the following payload can be used:

{
  "appId": "demo-app",
  "customer": "demo",
  "price": {
    "priceData": {
      "product": {
        "name": "App Pay Monthly",
        "description": "Application pay subscription test",
        "images": []
      },
      "amount": 10,
      "currency": "EUR"
    }
  },
  "quantity": 1,
  "interval": "MONTHLY",
  "appCheckoutId": "9363ee9-8ca0-4284-94d1-879bd774a6aa",
}

Initiate a subscription payment
Initiate a subscription payment

To retrieve a list of subscription payments you can use the following payload for filtering:

{
  "customer": "",
  "appId": "",
  "status": "paid"
}

Retrieve a list of subscription payments
Retrieve a list of subscription payments