Checkout Sessions
List checkout sessions
Changed onget/api/v1/checkout-sessions
Request
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
customer_idstring MeteroidId
Example:cus_7n42DGM5Tflk9n8mt7Fhc7
status'CREATED' | 'AWAITING_PAYMENT' | 'COMPLETED' | 'EXPIRED' | 'CANCELLED'
Response
List of checkout sessions
Example response
{
"sessions": [
{
"customer_id": "cus_7n42DGM5Tflk9n8mt7Fhc7",
"id": "che_7n42DGM5Tflk9n8mt7Fhc7",
"payment_methods_config": {
"account_id": "ba_7n42DGM5Tflk9n8mt7Fhc7"
},
"plan_version_id": "plv_7n42DGM5Tflk9n8mt7Fhc7",
"subscription_id": "sub_7n42DGM5Tflk9n8mt7Fhc7"
}
]
}Changes
- breaking
added to the
//////response propertyoneOflist for the response status - info
added discriminator to
//////response property for the response status - info
removed
subschema #1subschema #2subschema #3from the//////response propertyoneOflist for the response status
- breaking
- breaking
added
subschema #1to the////////response propertyoneOflist for the response status - breaking
the
////////response's property type changed fromstringnullto no type for status - warning
added the new
TOO_MANY_REQUESTSenum value to theresponse property for the response status - warning
added the new
TOO_MANY_REQUESTSenum value to theresponse property for the response status - info
added the non-success response with the status
- breaking