Get customers with no card

GET {{AppUrl}}/api/v1/issuer/customer/no-card

Introduction

Get all customers that are eligible for a card. Only active customers with a WMO disposal are eligible for a card.

Structure

ItemTypePluralityOptionsRequiredDescription
idinteger1yesIdentifier.
first_namevarchar(255)1yesFirst name.
initialsvarchar(255)1yesInitials.
infixvarchar(255)1noInfix.
last_namevarchar(255)1yesLast name.
gendervarchar(1)1m
f
yesGender (male or female).
phone_numbervarchar(255)1yesPhone number.
mobilephonenumbervarchar(255)1yesMobile phone number.
emailvarchar(255)1yesE-mail address.
dateofbirthDateTime1yesDate of birth.
payment_methodvarchar(50)1cash
direct-debit
yesPayment method.
directdebitrequested_atDateTime1noDate and time when direct debit authorization was requested for this customer.
directdebitauthorized_atDateTime1noDate and time when direct debit request was authorized.
municipality_codevarchar(4)1yesThe numeric code of the municipality.
cardtypevarchar(255)1noDefect or lost. Param to indicate whether a card was lost or defect.
addressesarrayNyesHome, post and billing are required. Extra custom addresses are optional.
typevarchar(255)1home
post
billing
custom
yesType of address (home, post, billing or custom).
differentfromhomeboolean10
1
yesIndicates whether this address differs from the home address.
labelvarchar(255)1yes*Label to identify the type of custom address. *Only required on addresses of type 'custom'.
streetvarchar(255)1yes*Street name. *Required on the home address and any addresses that have 'differentfromhome' set to 1.
numbervarchar(255)1yes*House number. *Required on the home address and any addresses that have 'differentfromhome' set to 1.
additionvarchar(255)1noHouse number addition.
postcodevarchar(255)1yes*Postal code. *Required on the home address and any addresses that have 'differentfromhome' set to 1.
cityvarchar(255)1yes*City. *Required on the home address and any addresses that have 'differentfromhome' set to 1.
created_atDateTime1yesDate/time the customer was created.
updated_atDateTime1yesDate/time customer was last modified.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":[{"id":50,"first_name":"Mick","initials":"M","infix":"","last_name":"Schipper","gender":"m","phone_number":"+3120 5852978","mobile_phone_number":"0643438998","email":"mees.vanderlede@example.net","date_of_birth":"2002-02-06T00:00:00+01:00","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":"2018-11-28T10:23:02+01:00","direct_debit_authorized_at":"2018-12-04T21:22:49+01:00","municipality_code":"6417","cardtype":"defect","blocked":false,"addresses":[{"type":"home","different_from_home":1,"label":null,"street":"Molenaarboulevard","number":"3114","addition":"b","postcode":"2562VH","city":"Drogteropslagen"},{"type":"post","different_from_home":1,"label":null,"street":"Smitlaan","number":"3090","addition":"a","postcode":"6673DB","city":"Overveen"},{"type":"billing","different_from_home":0,"label":null,"street":null,"number":null,"addition":null,"postcode":null,"city":null},{"type":"custom","different_from_home":0,"label":"Qui perspiciatis","street":"Haengreveboulevard","number":"2810","addition":"b","postcode":"1334DP","city":"Zwaagdijk-West"},{"type":"custom","different_from_home":0,"label":"Molestias autem","street":"Bruggemanring","number":"1109","addition":"b","postcode":"2242PK","city":"Rheezerveen"}],"created_at":"2018-12-10T15:23:21+01:00","updated_at":"2018-12-10T15:23:27+01:00"},{"id":62,"first_name":"Lily","initials":"L","infix":"","last_name":"Peeters","gender":"f","phone_number":"+3173 3526773","mobile_phone_number":"+31(0)6-43813624","email":"vanderkint.naud@example.net","date_of_birth":"2012-10-29T00:00:00+01:00","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":"2018-12-06T01:13:46+01:00","direct_debit_authorized_at":null,"municipality_code":"4808","addresses":[{"type":"home","different_from_home":1,"label":null,"street":"Kösterboulevard","number":"730","addition":"c","postcode":"7311AL","city":"Langezwaag"},{"type":"post","different_from_home":0,"label":null,"street":null,"number":null,"addition":null,"postcode":null,"city":null},{"type":"billing","different_from_home":0,"label":null,"street":null,"number":null,"addition":null,"postcode":null,"city":null},{"type":"custom","different_from_home":0,"label":"Cum recusandae","street":"de Bruinweg","number":"747","addition":"bis","postcode":"3527EJ","city":"Buurmalsen"},{"type":"custom","different_from_home":0,"label":"Alias voluptatibus","street":"Ramosring","number":"2698","addition":null,"postcode":"8231JL","city":"Aldeboarn"}],"created_at":"2018-12-10T15:23:22+01:00","updated_at":"2018-12-10T15:24:26+01:00"},{"id":68,"first_name":"Lotte","initials":"L","infix":"","last_name":"Kruns","gender":"f","phone_number":"+3110 6298475","mobile_phone_number":"06-84283498","email":"tara45@example.org","date_of_birth":"1931-02-24T00:00:00+00:19","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":null,"direct_debit_authorized_at":null,"municipality_code":"3258","addresses":[{"type":"home","different_from_home":1,"label":null,"street":"van Munsterdreef","number":"2724","addition":"b","postcode":"6655AE","city":"Paterswolde"},{"type":"post","different_from_home":1,"label":null,"street":"van Dijkpad","number":"150","addition":"c","postcode":"8446CM","city":"Hummelo"},{"type":"billing","different_from_home":1,"label":null,"street":"van Arnsberglaan","number":"2468","addition":null,"postcode":"3628AC","city":"Meppel"},{"type":"custom","different_from_home":0,"label":"Accusantium esse","street":"van den Brinksteeg","number":"419","addition":"a","postcode":"3515GC","city":"De Klomp"}],"created_at":"2018-12-10T15:23:22+01:00","updated_at":"2018-12-10T15:23:28+01:00"}],"links":{"first":"https://vitapp.localtest.me/api/v1/issuer/customer/no-card?page=1","last":"https://vitapp.localtest.me/api/v1/issuer/customer/no-card?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"path":"https://vitapp.localtest.me/api/v1/issuer/customer/no-card","per_page":50,"to":3,"total":3}}