Authorize / deny direct debit request by ID

POST {{AppUrl}}/api/v1/issuer/customer/{{Customer ID}}/debit-authorization

Introduction

Authorize or deny the direct debit request for a customer by ID.

Structure

ItemTypePluralityOptionsRequiredDescription
authorizedboolean10
1
trueSet to 1 to authorize the request, set to 0 to deny it.

Request Body

{"data"=>{"authorized"=>1}}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring

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":"direct-debit","direct_debit_requested_at":"2018-12-06T06:05:24+01:00","direct_debit_authorized_at":"2019-01-23T12:11:57+01:00","municipality_code":"8136","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":"2019-01-23T12:11:57+01:00"}}