Get customers requesting direct debit

GET {{AppUrl}}/api/v1/issuer/customer/debit-requested

Introduction

Get all customers that have requested direct debit as a payment type. Only customers that have not yet been authorized for direct debit will be returned.

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)1yesPhonenumber.
mobilephonenumbervarchar(255)1yesMobile phonenumber.
emailvarchar(255)1yesE-mail address.
dateofbirthDateTime1yesDate of birth.
payment_methodvarchar(50)1cash
direct-debit
yesPayment method.
directdebitrequested_atDateTime1yesDate 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.
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":57,"first_name":"Quinten","initials":"Q","infix":"","last_name":"Hussain","gender":"m","phone_number":"011 8486903","mobile_phone_number":"+316 13036885","email":"ejonker@example.net","date_of_birth":"2001-11-16T00:00:00+01:00","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":"2018-12-06T06:05:24+01:00","direct_debit_authorized_at":null,"municipality_code":"8136","blocked":false,"addresses":[{"type":"home","different_from_home":1,"label":null,"street":"Appelmanhof","number":"1859","addition":null,"postcode":"1531KA","city":"Wagenberg"},{"type":"post","different_from_home":0,"label":null,"street":null,"number":null,"addition":null,"postcode":null,"city":null},{"type":"billing","different_from_home":1,"label":null,"street":"van de Veldendreef","number":"2347","addition":"b","postcode":"4793CM","city":"Vroomshoop"},{"type":"custom","different_from_home":0,"label":"Modi est","street":"van den Bergpad","number":"1641","addition":"bis","postcode":"4131NE","city":"Mantgum"},{"type":"custom","different_from_home":0,"label":"Soluta qui","street":"Neuteboompad","number":"3221","addition":"c","postcode":"1068NE","city":"Heilig Landstichting"},{"type":"custom","different_from_home":0,"label":"Vero nam","street":"van den Bergstraat","number":"2362","addition":"b","postcode":"3034VE","city":"Oosteind"},{"type":"custom","different_from_home":0,"label":"Quasi velit","street":"van der Polstraat","number":"349","addition":"c","postcode":"1121JC","city":"Nieuwland"},{"type":"custom","different_from_home":0,"label":"Sit provident","street":"Kurtdreef","number":"3187","addition":null,"postcode":"7557VC","city":"Hempens"}],"created_at":"2018-12-10T15:23:21+01:00","updated_at":"2018-12-10T15:23:27+01:00"},{"id":61,"first_name":"Helena","initials":"H","infix":"van der","last_name":"Mast","gender":"m","phone_number":"+3120 5852978","mobile_phone_number":"+31(0)6-43813624","email":"mvandewater@example.org","date_of_birth":"1995-03-19T00:00:00+01:00","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":"2018-11-22T11:02:45+01:00","direct_debit_authorized_at":null,"municipality_code":"4808","addresses":[{"type":"home","different_from_home":1,"label":null,"street":"Lambregtlaan","number":"220","addition":null,"postcode":"2231BB","city":"Heusden"},{"type":"post","different_from_home":1,"label":null,"street":"die Bontpad","number":"818","addition":"b","postcode":"7622VX","city":"Vlist"},{"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":"Suscipit facere","street":"van Estedreef","number":"572","addition":null,"postcode":"9751TS","city":"IJsselmuiden"},{"type":"custom","different_from_home":0,"label":"Non iusto","street":"de Groteboulevard","number":"2782","addition":null,"postcode":"7722XJ","city":"Wier"},{"type":"custom","different_from_home":0,"label":"Laboriosam sint","street":"Blomdreef","number":"3120","addition":null,"postcode":"3527EJ","city":"'t Zandt"},{"type":"custom","different_from_home":0,"label":"Quibusdam voluptas","street":"Mahabiersteeg","number":"294","addition":"a","postcode":"4371EN","city":"Warffum"}],"created_at":"2018-12-10T15:23:22+01:00","updated_at":"2018-12-10T15:23:28+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":63,"first_name":"Lola","initials":"L","infix":"de","last_name":"Haan","gender":"m","phone_number":"+3120 5852978","mobile_phone_number":"+31(0)6 10433663","email":"tvanderlaar@example.org","date_of_birth":"1936-06-16T00:00:00+01:19","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":"2018-12-03T13:00:39+01:00","direct_debit_authorized_at":null,"municipality_code":"4808","addresses":[{"type":"home","different_from_home":1,"label":null,"street":"Schoutenboulevard","number":"1735","addition":null,"postcode":"8121SB","city":"Kerkdriel"},{"type":"post","different_from_home":1,"label":null,"street":"Karacaweg","number":"3352","addition":"b","postcode":"4011KH","city":"Wetsens"},{"type":"billing","different_from_home":1,"label":null,"street":"Ariens Ansemslaan","number":"96","addition":null,"postcode":"5061NA","city":"Lutjebroek"},{"type":"custom","different_from_home":0,"label":"Sit amet","street":"Avcisteeg","number":"3070","addition":"b","postcode":"1448VB","city":"Wijster"},{"type":"custom","different_from_home":0,"label":"Ex et","street":"Jansenlaan","number":"1318","addition":null,"postcode":"8472DA","city":"De Wilp"},{"type":"custom","different_from_home":0,"label":"Ea a","street":"Kallenstraat","number":"358","addition":null,"postcode":"4698BG","city":"Steensel"}],"created_at":"2018-12-10T15:23:22+01:00","updated_at":"2018-12-10T15:24:26+01:00"}],"links":{"first":"https://vitapp.localtest.me/api/v1/issuer/customer/debit-requested?page=1","last":"https://vitapp.localtest.me/api/v1/issuer/customer/debit-requested?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"path":"https://vitapp.localtest.me/api/v1/issuer/customer/debit-requested","per_page":50,"to":4,"total":4}}