Skip to content

Payment types

Returns list of payment types in the system. Returned data can be limited with payment_type_id query parameters.

Download payment types as JSON

Request

GET https://api.zoined.com/v2/download/paymentTypes.json?limit=1000&offset=0&payment_type_id=1

Security
bearerAuth
Query
limitnumber

How many entries to return

Example:limit=1000
offsetnumber

Which offset to return data from

Example:offset=0
payment_type_idstring

Returns data of payment type based on the given id

Example:payment_type_id=1
curl -i -X GET \
  'https://zapi-api.zoined.com/_mock/v2/download/paymentTypes.json?limit=1000&offset=0&payment_type_id=1' \
  -H 'Authorization: Bearer <YOUR_token_HERE>'

Responses

Request has been processed successfully.

Headers

  • Content-Type: application/json
Bodyapplication/json
payment_type_idstringrequired

Payment Type ID

Example:"1"
payment_typestringrequired

Payment type name

Example:"credit card"
payment_groupstring

Payment group

Example:"Store"
custom_field_1string

Custom Field 1

Example:"App"
custom_field_2string

Custom Field 2

Example:"App"
custom_field_3string

Custom Field 3

Example:"App"
custom_field_4string

Custom Field 4

Example:"App"
custom_field_5string

Custom Field 5

Example:"App"
Response
{ "payment_type_id": "1", "payment_type": "credit card", "payment_group": "Store", "custom_field_1": "App", "custom_field_2": "App", "custom_field_3": "App", "custom_field_4": "App", "custom_field_5": "App" }