The 'Accounting' application of the Core API
Accounting (2.0.0)
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_bg_account_number
Additional Validation Information:
This value requires that the following fields are also set: target_iban_number
Additional Validation Information:
This value requires that the following fields are also set: target_bic
Additional Validation Information:
This value requires that the following fields are also set: target_bg_account_number
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_account_number
- https://dev.api.pigello.io/accounting/accounttypes/paymentmethod/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.api.pigello.io/accounting/accounttypes/paymentmethod/{pk}/' \
-H 'Content-Type: application/json' \
-H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
-d '{
"method": 0,
"target_account_number": "string",
"active_from": "2019-08-24",
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"target_bic": "ESSESESS",
"last_payment_matching_method": 0,
"target_iban_number": "string",
"custom_id": "string",
"bookkeeping_account": 1000,
"first_payment_matching_method": 0,
"is_primary_payment_method": true,
"autogiro_customer_number": "string",
"target_bg_account_number": "strings",
"title": "string",
"company": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}'Successful update
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_bg_account_number
Additional Validation Information:
This value requires that the following fields are also set: target_iban_number
Additional Validation Information:
This value requires that the following fields are also set: target_bic
Additional Validation Information:
This value requires that the following fields are also set: target_bg_account_number
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_account_number
{ "customer_columns": null, "method": 0, "target_account_number": "string", "active_from": "2019-08-24", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "target_bic": "ESSESESS", "last_payment_matching_method": 0, "tags": null, "target_iban_number": "string", "custom_id": "string", "bookkeeping_account": 1000, "first_payment_matching_method": 0, "bank": null, "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_primary_payment_method": true, "autogiro_customer_number": "string", "target_bg_account_number": "strings", "title": "string", "company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_bg_account_number
Additional Validation Information:
This value requires that the following fields are also set: target_iban_number
Additional Validation Information:
This value requires that the following fields are also set: target_bic
Additional Validation Information:
This value requires that the following fields are also set: target_bg_account_number
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_account_number
- https://dev.api.pigello.io/accounting/accounttypes/paymentmethod/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://dev.api.pigello.io/accounting/accounttypes/paymentmethod/ \
-H 'Content-Type: application/json' \
-H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
-d '{
"method": 0,
"target_account_number": "string",
"active_from": "2019-08-24",
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"target_bic": "ESSESESS",
"last_payment_matching_method": 0,
"target_iban_number": "string",
"custom_id": "string",
"bookkeeping_account": 1000,
"first_payment_matching_method": 0,
"is_primary_payment_method": true,
"autogiro_customer_number": "string",
"target_bg_account_number": "strings",
"title": "string",
"company": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}'Successful creation
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_bg_account_number
Additional Validation Information:
This value requires that the following fields are also set: target_iban_number
Additional Validation Information:
This value requires that the following fields are also set: target_bic
Additional Validation Information:
This value requires that the following fields are also set: target_bg_account_number
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_account_number
{ "customer_columns": null, "method": 0, "target_account_number": "string", "active_from": "2019-08-24", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "target_bic": "ESSESESS", "last_payment_matching_method": 0, "tags": null, "target_iban_number": "string", "custom_id": "string", "bookkeeping_account": 1000, "first_payment_matching_method": 0, "bank": null, "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_primary_payment_method": true, "autogiro_customer_number": "string", "target_bg_account_number": "strings", "title": "string", "company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }