tesla
  1. Plans
tesla
  • tesla
    • Auth
      • data captain
        • cars
        • get car model
        • get color model car
        • get manufacture years
      • register Captain
      • Login
      • Logout
      • register
      • edit profile
      • delete account
      • get profile
      • change password
      • active account
      • Verification Account
    • Forget Password
      • verify Email
    • Booking
      • store booking
      • get all
      • Drift
      • Drift Copy
      • get one
      • Update Ride
    • Captains
      • get all
      • captain booking details
      • get one
      • update location
    • Cars
      • get all
      • get brand and model car
    • Payment
      • store
      • get all
      • get one
    • Gratuity
      • store
      • get all
      • get one
    • Contact Us
      • store
    • categories
      • get all
    • Services
      • get all
      • status service captain
    • location
      • update and channel
    • Saved Places
      • get all
      • store
      • update
      • delete
    • Promotion
      • get one
      • store
    • Transfer Wallet
      • store
      • Card Charging
      • get all
      • Verify Otp
      • Reset Otp
    • Public Information
      • Public Information
    • Setting
      • get one
    • Notification
      • unread notification
      • rad notification
      • rad notification Copy
    • Questions
      • questions
    • Payment Method
      • get all
    • Gratuity Salary
      • get all
    • Delay Period
      • get all
    • Favorites
      • get all
    • Order
      • get all
      • store
      • update
      • delete
      • Approved Request Order
      • delivery of orders
    • Wallet Charging
      • store
    • Plans
      • get all
        GET
      • store
        POST
      • subscriptions confirm
        PUT
  1. Plans

get all

Developing
GET
{{tessla}}/plans
Last modified:2025-04-23 20:49:37
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{tessla}}/plans' \
--header 'Accept: application/json' \
--header 'Accept-Language: ar'
Response Response Example
Success
{"data":[{"id":15,"name":"Ray Hunter","provider":"stripe","provider_plan_id":"prod_SB1L2csvdNOobj","interval":"week","amount":53,"currency":"SAR","description":"Voluptate illum max","created_at":"2025-04-22T11:47:47.000000Z","updated_at":"2025-04-22T11:47:47.000000Z","status":"active"},{"id":16,"name":"Ethan Rose00","provider":"stripe","provider_plan_id":"prod_SB7J6CdV1Z9wi9","interval":"year","amount":2,"currency":"USD","description":"Deserunt possimus s","created_at":"2025-04-22T17:57:46.000000Z","updated_at":"2025-04-22T19:54:38.000000Z","status":"active"},{"id":17,"name":"Jamalia Bradley","provider":"paypal","provider_plan_id":"P-231665882T059162YNAEQWBY","interval":"year","amount":9,"currency":"USD","description":"Mollitia ab ipsum se","created_at":"2025-04-22T17:58:21.000000Z","updated_at":"2025-04-23T15:45:11.000000Z","status":"active"}],"message":"successfully get all plans","status":true}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Accept
string 
required
Example:
application/json
Accept-Language
string 
required
Example:
ar

Responses

🟢200OK
application/json
Body
data
array [object {13}] 
required
id
integer 
required
name
string 
required
provider
string 
required
provider_plan_id
string 
required
price_id
null 
required
interval
string 
required
amount
integer 
required
currency
string 
required
description
string 
required
created_at
string 
required
updated_at
string 
required
status
string 
required
metadata
object  | null 
required
message
string 
required
status
boolean 
required
Modified at 2025-04-23 20:49:37
Previous
store
Next
store
Built with