username:password
Authorization: Basic *****************
{
"customer": "string",
"ending_before": "string",
"type": "string",
"limit": "string",
"starting_after": "string"
}
curl --location --request GET 'https://apitest.wooshpay.com/v1/payment_methods/list' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"customer": "string",
"ending_before": "string",
"type": "string",
"limit": "string",
"starting_after": "string"
}'
{
"id": "string",
"object": "string",
"created": 0,
"customer": "string",
"metadata": {},
"livemode": true,
"billing_details": {
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"postal_code": "string",
"state": "string"
},
"email": "string",
"name": "string",
"phone": "string"
},
"type": "card",
"card": {
"brand": "string",
"checks": {
"address_line1_check": "string",
"address_zip_check": "string",
"cvc_check": "string"
},
"country": "string",
"exp_month": 0,
"exp_year": 0,
"fingerprint": "string",
"funding": "string",
"last4": "string",
"metadata": {}
}
}