# Create 'Paymentmethod' Endpoint: POST /accounting/accounttypes/paymentmethod/ Version: 2.0.0 Security: customer_id, application_id, service_id, service_version_id, client_ct, client_object_id, client_secret ## Request fields (application/json): - `method` (integer, required) Enum: 0, 1, 3, 4, 5 - `bookkeeping_account` (integer, required) - `is_primary_payment_method` (boolean, required) - `title` (string, required) - `target_account_number` (string,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_bg_account_number - `active_from` (string,null) - `organization` (object,null) - `organization.id` (string) - `target_bic` (string,null) Additional Validation Information: This value requires that the following fields are also set: target_iban_number Enum: "ESSESESS", "IBCASES1", "FORXSES1", "LUNADK2B", "DNBASESX", "NNSESES1", "BSNOSESS", "ERPFSES2", "SWEDSESS", "SKIASESS", "BMPBSESS", "BSTPSESS", "EKMLSE21", "NDEASESS", "MARGSESS", "NOFBSESS", "JAKMSE22", "MEMMSE21", "IKANSE21", "AVANSES1", "DABASESX", "RESUSE21", "HANDSESS", "SPSDSE23", "NOHLSESS", "AABASESS", "KLRNSESS", "LAHYSESS", "SVEASES1", "FEMAMTMT", "FTSBSESS", "LOSADKKK", "CITISESX", "SBAVSESS", "ELLFSESS" - `last_payment_matching_method` (integer,null) Enum: 0, 1, 2, 3, 4, 5 - `target_iban_number` (string,null) Additional Validation Information: This value requires that the following fields are also set: target_bic - `custom_id` (string,null) - `first_payment_matching_method` (integer,null) Enum: 0, 1, 2, 3, 4, 5 - `autogiro_customer_number` (string,null) Additional Validation Information: This value requires that the following fields are also set: target_bg_account_number - `target_bg_account_number` (string,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_account_number - `company` (object,null) ## Response 201 fields (application/json): - `method` (integer, required) Enum: 0, 1, 3, 4, 5 - `bookkeeping_account` (integer, required) - `id` (string, required) Additional Validation Information: Must be unique - `is_primary_payment_method` (boolean, required) - `title` (string, required) - `customer_columns` (any) - `target_account_number` (string,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_bg_account_number - `active_from` (string,null) - `organization` (object,null) - `organization.id` (string) - `target_bic` (string,null) Additional Validation Information: This value requires that the following fields are also set: target_iban_number Enum: "ESSESESS", "IBCASES1", "FORXSES1", "LUNADK2B", "DNBASESX", "NNSESES1", "BSNOSESS", "ERPFSES2", "SWEDSESS", "SKIASESS", "BMPBSESS", "BSTPSESS", "EKMLSE21", "NDEASESS", "MARGSESS", "NOFBSESS", "JAKMSE22", "MEMMSE21", "IKANSE21", "AVANSES1", "DABASESX", "RESUSE21", "HANDSESS", "SPSDSE23", "NOHLSESS", "AABASESS", "KLRNSESS", "LAHYSESS", "SVEASES1", "FEMAMTMT", "FTSBSESS", "LOSADKKK", "CITISESX", "SBAVSESS", "ELLFSESS" - `last_payment_matching_method` (integer,null) Enum: 0, 1, 2, 3, 4, 5 - `tags` (any) - `target_iban_number` (string,null) Additional Validation Information: This value requires that the following fields are also set: target_bic - `custom_id` (string,null) - `first_payment_matching_method` (integer,null) Enum: 0, 1, 2, 3, 4, 5 - `bank` (any) - `created_at` (string) - `autogiro_customer_number` (string,null) Additional Validation Information: This value requires that the following fields are also set: target_bg_account_number - `target_bg_account_number` (string,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_account_number - `company` (object,null) ## Response 401 fields ## Response 403 fields ## Response 429 fields