GET
/
payment-methods
List payment methods
curl --request GET \
  --url https://api.wizcommerce.com/v1/payment-methods \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "01f5d171-d3e3-4b2b-bd57-0727194b5bed",
      "reference_id": "EXT-878",
      "customer_id": "CST-137",
      "provider": "stax",
      "payment_method_type": "card",
      "card_type": "debit",
      "brand": "visa",
      "status": "active",
      "card_expiry": "09/25",
      "last_four_digits": "1234",
      "display_name": "John Doe",
      "token": "PIuTv1UgBqESZ2KRDixPtDJt~1234567890",
      "address_line_1": "123 Main St",
      "address_line_2": "Apt 101",
      "city": "Anytown",
      "state": "CA",
      "country": "US",
      "zip_code": "12345",
      "email": "john.doe@example.com",
      "phone": "+14155552671",
      "first_name": "John",
      "last_name": "Doe",
      "created_at": "2025-01-01T15:04:05Z",
      "updated_at": "2025-01-01T15:04:05Z",
      "is_default": false
    }
  ],
  "pagination": {
    "total_records": 100,
    "total_pages": 10,
    "current_page": 1,
    "next_page": 2,
    "prev_page": 0,
    "page_size": 10
  }
}

Authorizations

X-API-Key
string
header
required

API Key for authentication

Query Parameters

page
integer
Required range: x >= 1
page_size
integer
Required range: 1 <= x <= 100
customer_id
string
Maximum length: 255

Response

200
application/json

OK

The response is of type object.