API Definition to interact with Prana platform
Prana API (1.0)
https://api.prana.software/api/v1/bank/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.prana.software/api/v1/bank/{id}'Response
application/json
{ "id": 1, "code": "ES1234", "name": "CLAVEI BANK", "iban": "ES9820385778983000760236", "swift": "BSABESBBXXX", "inactive": false, "observations": "Merges with main branch yearly", "riskGranted": 25000, "riskConsumed": 13000.55, "riskAvailable": 12000, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "remittancePresenterSuffix": "0001", "reportPrtryInsteadCd": false, "skipBicorbeiTags": false, "skipIndividualData": false, "billsPayableAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "policyAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "payerCustomerCode": "1002A", "internalReference": "BANKREF123", "mnemo": "MNEMO", "sepaTxtWithoutInstructionIdentification": false, "confirmingFormat": "BANKINTER", "lastPromissoryNoteNumber": 145, "remittanceGenerationCsb34": false, "confirmingEmailTransfer": true, "picture": "bank_logo.png", "pictureToken": "token-1f8e", "balance": 15400.8, "income": 9671.22, "expenses": 5400.13, "synchronizable": false, "showSummary": true }
Bodyapplication/jsonrequired
Indicates if SEPA TXT will be created without instruction identification.
Example: false
Enum"BANKINTER""BBVA""BBVA_EUROCONFIRMING""CAIXABANK""CAIXA_GALICIA""CAJAMAR""SABADELL""SANTANDER""SANTANDER_5_4"
Example: "NORMA_58"
https://api.prana.software/api/v1/bank/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.prana.software/api/v1/bank/{id}' \
-H 'Content-Type: application/json' \
-d '{
"code": "ES1234",
"name": "CLAVEI BANK",
"iban": "ES9820385778983000760236",
"swift": "BSABESBBXXX",
"inactive": false,
"observations": "Main office 2025",
"riskGranted": 25000,
"riskConsumed": 13000.55,
"riskAvailable": 12000,
"accountingAccount": 5720001001,
"remittancePresenterSuffix": "0001",
"reportPrtryInsteadCd": false,
"skipBicorbeiTags": false,
"skipIndividualData": false,
"billsPayableAccount": 400001,
"policyAccount": 800002,
"payerCustomerCode": "1002A",
"internalReference": "BANKREF123",
"mnemo": "MNEMO",
"sepaTxtWithoutInstructionIdentification": false,
"confirmingFormat": "BANKINTER",
"lastPromissoryNoteNumber": 145,
"remittanceGenerationCsb34": false,
"confirmingEmailTransfer": true,
"picture": "bank_logo.png",
"synchronizable": false,
"showSummary": true
}'Response
application/json
{ "id": 1, "code": "ES1234", "name": "CLAVEI BANK", "iban": "ES9820385778983000760236", "swift": "BSABESBBXXX", "inactive": false, "observations": "Merges with main branch yearly", "riskGranted": 25000, "riskConsumed": 13000.55, "riskAvailable": 12000, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "remittancePresenterSuffix": "0001", "reportPrtryInsteadCd": false, "skipBicorbeiTags": false, "skipIndividualData": false, "billsPayableAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "policyAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "payerCustomerCode": "1002A", "internalReference": "BANKREF123", "mnemo": "MNEMO", "sepaTxtWithoutInstructionIdentification": false, "confirmingFormat": "BANKINTER", "lastPromissoryNoteNumber": 145, "remittanceGenerationCsb34": false, "confirmingEmailTransfer": true, "picture": "bank_logo.png", "pictureToken": "token-1f8e", "balance": 15400.8, "income": 9671.22, "expenses": 5400.13, "synchronizable": false, "showSummary": true }
Bodyapplication/jsonrequired
Indicates if SEPA TXT will be created without instruction identification.
Example: false
Enum"BANKINTER""BBVA""BBVA_EUROCONFIRMING""CAIXABANK""CAIXA_GALICIA""CAJAMAR""SABADELL""SANTANDER""SANTANDER_5_4"
Example: "NORMA_58"
https://api.prana.software/api/v1/bank
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.prana.software/api/v1/bank \
-H 'Content-Type: application/json' \
-d '{
"code": "ES1234",
"name": "CLAVEI BANK",
"iban": "ES9820385778983000760236",
"swift": "BSABESBBXXX",
"inactive": false,
"observations": "Main office 2025",
"riskGranted": 25000,
"riskConsumed": 13000.55,
"riskAvailable": 12000,
"accountingAccount": 5720001001,
"remittancePresenterSuffix": "0001",
"reportPrtryInsteadCd": false,
"skipBicorbeiTags": false,
"skipIndividualData": false,
"billsPayableAccount": 400001,
"policyAccount": 800002,
"payerCustomerCode": "1002A",
"internalReference": "BANKREF123",
"mnemo": "MNEMO",
"sepaTxtWithoutInstructionIdentification": false,
"confirmingFormat": "BANKINTER",
"lastPromissoryNoteNumber": 145,
"remittanceGenerationCsb34": false,
"confirmingEmailTransfer": true,
"picture": "bank_logo.png",
"synchronizable": false,
"showSummary": true
}'Response
application/json
{ "id": 1, "code": "ES1234", "name": "CLAVEI BANK", "iban": "ES9820385778983000760236", "swift": "BSABESBBXXX", "inactive": false, "observations": "Merges with main branch yearly", "riskGranted": 25000, "riskConsumed": 13000.55, "riskAvailable": 12000, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "remittancePresenterSuffix": "0001", "reportPrtryInsteadCd": false, "skipBicorbeiTags": false, "skipIndividualData": false, "billsPayableAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "policyAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "payerCustomerCode": "1002A", "internalReference": "BANKREF123", "mnemo": "MNEMO", "sepaTxtWithoutInstructionIdentification": false, "confirmingFormat": "BANKINTER", "lastPromissoryNoteNumber": 145, "remittanceGenerationCsb34": false, "confirmingEmailTransfer": true, "picture": "bank_logo.png", "pictureToken": "token-1f8e", "balance": 15400.8, "income": 9671.22, "expenses": 5400.13, "synchronizable": false, "showSummary": true }
https://api.prana.software/api/v1/bank/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.prana.software/api/v1/bank/search \
-H 'Content-Type: application/json' \
-d '{
"condition": {
"field": "name",
"value": "Example Value",
"type": "EQ",
"endValue": 100,
"innerConditions": [
{}
],
"conditionType": "AND",
"empty": false,
"compareFields": false
},
"sortCriteria": [
{
"sortField": "name",
"sortDirection": "ASC"
}
],
"pageNumber": 0,
"pageSize": 20
}'Response
application/json
{ "data": [ { … } ], "page": 0, "total": 150, "pages": 14, "size": 10 }