- API Introduction
- Error Code
- Payment Intents
- Charges
- Payment Methods
- Refunds
- Webhooks
- Events
- Files
- Disputes
- Payouts
- Balance
- Products
- Prices
- Payment Links
- Checkout
- Customers
- Setup Intents
- Invoices
- Invoice Items
- Invoice Line Item
- Subscriptions
- Subscription Items
- Issuing
- Authorizations
- Cardholders
- Cards
- Transactions
- Coupons
- Promotion Code
- Accounts
List All Checkout Sessions
GET
/v1/checkout/sessions/list
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string {{Username}}:{{Password}}Example:
Authorization: Basic YWRtaW46MTIzNDU2
Header Params
Accept
string
required
Default:
application/json
Content-Type
string
required
Default:
application/json
Body Params application/json
created
object
optional
gt
string
optional
gte
string
optional
lt
string
optional
lte
string
optional
ending_before
string
optional
limit
integer
optional
starting_after
string
optional
customer
string
optional
customer_details
object
optional
email
string
required
payment_intent
string
optional
Example
{
"created": {
"gt": "string",
"gte": "string",
"lt": "string",
"lte": "string"
},
"ending_before": "string",
"limit": 0,
"starting_after": "string",
"customer": "string",
"customer_details": {
"email": "string"
},
"payment_intent": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apitest.wooshpay.com/v1/checkout/sessions/list?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues' \
--data-raw ''
Responses
🟢200OK
application/json
Body
object
string
optional
Default:
"list"
url
string
optional
has_more
boolean
optional
data
array [object {29}]
optional
id
string
optional
object
string
optional
amount_subtotal
integer
optional
amount_total
integer
optional
billing_address_collection
enum<string>
optional
Allowed values:
requiredauto
cancel_url
string
optional
client_reference_id
string
optional
created
integer
optional
currency
string
optional
customer
string
optional
customer_email
string
optional
expires_at
integer
optional
livemode
boolean
optional
metadata
object
optional
mode
string
optional
payment_intent
string
optional
payment_link
string
optional
payment_method_options
object (Payment Method Options)
optional
payment_method_types
array[string]
optional
payment_status
string
optional
phone_number_collection
object
optional
shipping_address_collection
object
optional
shipping
object
optional
status
enum<string>
optional
Allowed values:
opencompleteexpired
success_url
string
optional
url
string
optional
line_items
object
optional
customer_creation
enum<string>
optional
Allowed values:
alwaysif_required
customer_details
object
optional
Example
{
"object": "\"list\"",
"url": "string",
"has_more": true,
"data": [
{
"id": "string",
"object": "string",
"amount_subtotal": 0,
"amount_total": 0,
"billing_address_collection": "required",
"cancel_url": "string",
"client_reference_id": "string",
"created": 0,
"currency": "string",
"customer": "string",
"customer_email": "string",
"expires_at": 0,
"livemode": true,
"metadata": {},
"mode": "string",
"payment_intent": "string",
"payment_link": "string",
"payment_method_options": {
"card": {
"request_three_d_secure": "any",
"setup_future_usage": "on_session",
"capture_method": "string",
"tax_id": "string"
},
"alipayplus": {
"terminal_type": "APP",
"os_type": "IOS"
},
"alipay_hk": {
"terminal_type": "APP",
"os_type": "IOS"
},
"alipay": {
"terminal_type": "APP",
"os_type": "IOS"
},
"wechat_pay": {
"terminal_type": "WEB",
"client_ip": "string",
"os_type": "IOS",
"openid": "string"
},
"sepa_debit": {},
"akulaku": {
"terminal_type": "WEB",
"os_type": "IOS"
},
"truemoney": {
"terminal_type": "WEB",
"os_type": "IOS"
},
"kakaopay": {
"terminal_type": "WEB",
"os_type": "IOS"
},
"shopeepay": {
"terminal_type": "string",
"os_type": "string"
},
"dana": {
"terminal_type": "string",
"os_type": "string"
},
"pix": {
"tax_id": "string"
}
},
"payment_method_types": [
"string"
],
"payment_status": "string",
"phone_number_collection": {
"enabled": true
},
"shipping_address_collection": {
"allowed_countries": [
"string"
]
},
"shipping": {
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"postal_code": "string",
"state": "string"
},
"carrier": "string",
"name": "string",
"phone": "string",
"tracking_number": "string"
},
"status": "open",
"success_url": "string",
"url": "string",
"line_items": {},
"customer_creation": "always",
"customer_details": {
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"postal_code": "string",
"state": "string"
},
"email": "string",
"name": "string",
"phone": "string"
}
}
]
}
Modified at 2024-01-31 12:14:00