Request
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 *****************
Body Params application/json
{
"setup_intent": "string",
"created": {
"gt": "string",
"gte": "string",
"lt": "string",
"lte": "string"
},
"ending_before": "string",
"limit": 0,
"starting_after": "string"
}
Request samples
curl --location --request GET 'https://apitest.wooshpay.com/v1/setup_attempts/list' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"setup_intent": "string",
"created": {
"gt": "string",
"gte": "string",
"lt": "string",
"lte": "string"
},
"ending_before": "string",
"limit": 0,
"starting_after": "string"
}'
Responses
application/json {
"object": "\"list\"",
"url": "string",
"has_more": true,
"data": [
{
"id": "string",
"object": "string",
"created": 0,
"customer": "string",
"livemode": true,
"payment_method": "string",
"payment_method_details": {
"type": "string"
},
"setup_error": {
"code": "string",
"message": "string",
"payment_method": {},
"type": "string",
"decline_code": "string",
"param": "string"
},
"setup_intent": "string",
"status": "string",
"usage": "string"
}
]
}
Modified at 2023-10-31 11:22:27