AppResellerPaymentMethod

List payment methods

Changed on

Retrieves a list of the specified user's payment methods

get/appReseller/v1/paymentMethods

Request

Query parameters

ownerIdstring required

User ID

companyIdstring required

Company ID

numberinteger

Page number starting at 1. The default value is 1.

sizeinteger

Number of results per page. The default value is 50.

paymentMethodTypestring

Payment method type

Response

Success

Example response

{
  "page": {
    "number": 12345,
    "size": 12345,
    "totalElements": 12345,
    "totalPages": 12345
  },
  "content": [
    {
      "billingAddress": {
        "street1": "Alden",
        "city": "Beverly Hills",
        "country": "US",
        "zip": "94203",
        "state": "CA"
      },
      "owner": {
        "id": "2c061df6-4313-45e0-8709-a0ca19b0aaa3",
        "firstName": "Michael",
        "lastName": "Jordan"
      }
    }
  ]
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status