Update an account
Update a fleet account
Payment API
Account Details
- Overview
- Create an account
- Update an account
- Get account information
Authorisation Control
- Overview
- Authorisation Control Webhook
Authorisation Forwarding
- Overview
- Forward authorisation webhook
Card details
- Overview
- Create card
- Update card
- Get application
- Update application
- Get card
- Get plastic
- Get EMV scripts
- Update plastic
Customer
- Overview
- Get customer information
- Create a customer
- Update a customer
- Customer hierarchy
Exchange Rates API
- Overview
- Get ECB exchange rate
- Get ECB supported currencies
- Get FX exchange rates
ID
- Overview
- Initiate 3rd party authentication flow
- Callback to complete authentication flow
Instalment
- Overview
- Instalment Operations
Invoice
- Overview
- Get invoice information
- Update an invoice
Notification
- Overview
- Receive a notification
PIN
- Overview
- PIN operations with pre-shared key
- PIN operations using PKI
PIN Control
- Overview
- PIN Control handling
Purchase Details
- Overview
- Trigger repricing
- Get purchase details
- Create purchase details
- Update purchase details
Repricing
- Overview
- Create repricing agreements
- Get repricing agreements
- Update repricing agreements
- Create price lists
- Get price lists
- Update price lists
Transaction
- Overview
- Test transactions
- Test authorizations
- Get transaction data
- Create transactions
- Create fees
- Update a transaction
- Authorization Holds (BETA)
- Batch payment
Transfer API
- Overview
- Post account to account transfer
- Account to account batch transfer
- Post card to card transfer
Wallet
- Overview
- Push Provision
- Activation data
- Get tokens
Test API
- Overview
- test-auth-request-templates
- test-authorizations
Hierarchy API
- Overview
- Card Hierarchy Management
- Card Hierarchy Group Management
- Card Management in Card Hierarchy Groups
Spend Control API
- Overview
- Rule Sets Endpoints
- Rules Endpoints
- Spend Control Test Endpoint
- STIP External Account Balance Endpoints (BETA)
- STIP Spend Control Test Endpoint (BETA)
Update an account
Update a fleet account
This operation will update given fields given an account id
PATCH
/
v4
/
FLEET
/
{id}
curl --request PATCH \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/account/v4/FLEET/{id} \
--header 'Content-Type: application/json' \
--data '{
"address": {
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "<string>",
"country": "FIN",
"region": "<string>",
"zipCode": "<string>"
},
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"customerId": 55667788990,
"name": "My example account name",
"number": 123456789,
"reason": "<string>",
"segment": "SEGMENT_A",
"closureReason": "CLOSED1",
"usageLimits": [
{
"code": "24H",
"values": [
{
"code": "ATM",
"reset": true,
"singleAmount": 1000,
"count": 5,
"sumAmount": 1200
}
]
}
],
"paymentReference": {
"number": 1234567897,
"type": "MOD10"
},
"parentId": 9876543210,
"status": "ACCOUNT_BLOCKED",
"additionalInvoiceDaysOfMonth": 5,
"creditLimit": 10000,
"eInvoice": {
"address": "FI7165429021331431",
"operator": "NDEAFIHH",
"paymentInstruction": "AA"
},
"externalCustomerReference": "Example customer ref",
"invoiceDeliveryMethod": "REGULAR_MAIL",
"invoiceDayOfMonth": 21,
"minimumToPay": {
"amount": 123,
"percentage": 50
},
"paymentTerms": 10,
"invoicePaymentMethod": "DIRECT_DEBIT",
"accountsCardStatuses": "OK",
"accountCardBlocks": {
"softblock": true,
"hardblock": true
}
}'
{
"description": "<string>",
"id": "<string>"
}
Path Parameters
The account id for given account
Query Parameters
The audit user to log the request
Body
application/json
The fields that you want to apply to your newly cr, these values will override the predefined template values
Updating set values
Response
200
application/json
Successful update of the account
The response is of type object
.
curl --request PATCH \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/account/v4/FLEET/{id} \
--header 'Content-Type: application/json' \
--data '{
"address": {
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "<string>",
"country": "FIN",
"region": "<string>",
"zipCode": "<string>"
},
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"customerId": 55667788990,
"name": "My example account name",
"number": 123456789,
"reason": "<string>",
"segment": "SEGMENT_A",
"closureReason": "CLOSED1",
"usageLimits": [
{
"code": "24H",
"values": [
{
"code": "ATM",
"reset": true,
"singleAmount": 1000,
"count": 5,
"sumAmount": 1200
}
]
}
],
"paymentReference": {
"number": 1234567897,
"type": "MOD10"
},
"parentId": 9876543210,
"status": "ACCOUNT_BLOCKED",
"additionalInvoiceDaysOfMonth": 5,
"creditLimit": 10000,
"eInvoice": {
"address": "FI7165429021331431",
"operator": "NDEAFIHH",
"paymentInstruction": "AA"
},
"externalCustomerReference": "Example customer ref",
"invoiceDeliveryMethod": "REGULAR_MAIL",
"invoiceDayOfMonth": 21,
"minimumToPay": {
"amount": 123,
"percentage": 50
},
"paymentTerms": 10,
"invoicePaymentMethod": "DIRECT_DEBIT",
"accountsCardStatuses": "OK",
"accountCardBlocks": {
"softblock": true,
"hardblock": true
}
}'
{
"description": "<string>",
"id": "<string>"
}