Download OpenAPI specification:Download
This endpoint is used to verify the health of the service. It returns an echo response with security context information, version details, and system information.
{- "security-context": {
- "secure": false
}, - "success": true,
- "version": "2.1.9-SNAPSHOT",
- "revision": "8febf01",
- "timestamp": 1692129220917
}This endpoint echoes the provided request body
{- "key": "value"
}{- "security-context": {
- "secure": false
}, - "success": true,
- "version": "2.1.9-SNAPSHOT",
- "revision": "8febf01",
- "timestamp": 1692129220917,
- "echoed-data": {
- "key": "value"
}
}Create a new sysconfig entry with the provided data.
| id required | string |
| value required | string |
| readPerm | string |
| writePerm | string |
{- "id": "string",
- "value": "string",
- "readPerm": "string",
- "writePerm": "string"
}{- "id": "string",
- "value": "string",
- "readPerm": "string",
- "writePerm": "string"
}Given an Id, returns the specified SysConfig
| id required | string Example: perm.login ID of the SysConfig to retrieve |
{- "id": "perm.login",
- "value": "Login",
- "readPerm": "sysconfig.read",
- "writePerm": "sysadmin"
}Update an existing sysconfig entry with the provided data.
| id required | string ID of the SysConfig to delete |
| id required | string |
| value required | string |
| readPerm | string |
| writePerm | string |
{- "id": "string",
- "value": "string",
- "readPerm": "string",
- "writePerm": "string"
}{- "id": "string",
- "value": "string",
- "readPerm": "string",
- "writePerm": "string"
}Returns all the available Users
| limit | integer |
| offset | integer |
[- {
- "id": 1,
- "nick": "johndoe",
- "name": "John Doe",
- "email": "johndoe@example.com",
- "startDate": "2023-01-01T00:00:00.000Z",
- "endDate": "2023-12-31T00:00:00.000Z",
- "forcePasswordChange": false,
- "deleted": false,
- "active": true,
- "verified": true,
- "passwordChanged": "2023-01-01T00:00:00.000Z",
- "lastLogin": "2023-08-15T00:00:00.000Z",
- "loginAttempts": 3
}, - {
- "id": 2,
- "nick": "janedoe",
- "name": "Jane Doe",
- "email": "janedoe@example.com",
- "startDate": "2023-02-01T00:00:00.000Z",
- "endDate": "2023-11-30T00:00:00.000Z",
- "forcePasswordChange": true,
- "deleted": false,
- "active": true,
- "verified": false,
- "passwordChanged": "2023-02-01T00:00:00.000Z",
- "lastLogin": "2023-08-14T00:00:00.000Z",
- "loginAttempts": 5
}
]Creates a new user based on the schema
| id | integer |
| nick | string |
| name | string |
string | |
| startDate | string <date> |
| endDate | string <date> |
| forcePasswordChange | boolean |
| deleted | boolean |
| active | boolean |
| verified | boolean |
| passwordChanged | string <date-time> |
| lastLogin | string <date-time> |
| loginAttempts | integer |
| password | string |
{- "id": 0,
- "nick": "string",
- "name": "string",
- "email": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "forcePasswordChange": true,
- "deleted": true,
- "active": true,
- "verified": true,
- "passwordChanged": "2019-08-24T14:15:22Z",
- "lastLogin": "2019-08-24T14:15:22Z",
- "loginAttempts": 0,
- "password": "string"
}{- "id": 1,
- "nick": "johndoe",
- "name": "John Doe",
- "email": "johndoe@example.com",
- "startDate": "2023-01-01T00:00:00.000Z",
- "endDate": "2023-12-31T00:00:00.000Z",
- "forcePasswordChange": false,
- "deleted": false,
- "active": true,
- "verified": true,
- "passwordChanged": "2023-01-01T10:00:00.000Z",
- "lastLogin": "2023-08-15T15:30:00.000Z",
- "loginAttempts": 0
}Retrieves the specified user's information
| id required | integer ID of the user to retrieve |
{- "id": 1,
- "nick": "johndoe",
- "name": "John Doe",
- "email": "johndoe@example.com",
- "startDate": "2023-01-01T00:00:00.000Z",
- "endDate": "2023-12-31T00:00:00.000Z",
- "forcePasswordChange": false,
- "deleted": false,
- "active": true,
- "verified": true,
- "passwordChanged": "2023-01-01T10:00:00.000Z",
- "lastLogin": "2023-08-15T15:30:00.000Z",
- "loginAttempts": 0
}Updates the information of the specified user
| id required | integer ID of the user to update |
| id | integer |
| nick | string |
| name | string |
string | |
| startDate | string <date> |
| endDate | string <date> |
| forcePasswordChange | boolean |
| deleted | boolean |
| active | boolean |
| verified | boolean |
| passwordChanged | string <date-time> |
| lastLogin | string <date-time> |
| loginAttempts | integer |
| password | string |
{- "id": 0,
- "nick": "string",
- "name": "string",
- "email": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "forcePasswordChange": true,
- "deleted": true,
- "active": true,
- "verified": true,
- "passwordChanged": "2019-08-24T14:15:22Z",
- "lastLogin": "2019-08-24T14:15:22Z",
- "loginAttempts": 0,
- "password": "string"
}{- "id": 1,
- "nick": "johndoe",
- "name": "John Doe",
- "email": "johndoe@example.com",
- "startDate": "2023-01-01T00:00:00.000Z",
- "endDate": "2023-12-31T00:00:00.000Z",
- "forcePasswordChange": false,
- "deleted": false,
- "active": true,
- "verified": true,
- "passwordChanged": "2023-01-01T10:00:00.000Z",
- "lastLogin": "2023-08-15T15:30:00.000Z",
- "loginAttempts": 0
}{- "id": 1,
- "nick": "johndoe",
- "name": "John Doe",
- "email": "johndoe@example.com",
- "startDate": "2023-01-01T00:00:00.000Z",
- "endDate": "2023-12-31T00:00:00.000Z",
- "forcePasswordChange": false,
- "deleted": false,
- "active": true,
- "verified": true,
- "passwordChanged": "2023-01-01T10:00:00.000Z",
- "lastLogin": "2023-08-15T15:30:00.000Z",
- "loginAttempts": 0
}Retrieves the logged user revision history
[- {
- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "id": 0,
- "date": "2019-08-24T14:15:22Z",
- "info": "string",
- "ref": "string",
- "author": 0
}
]
}
]Get all roles associated with the user
| id required | integer ID of the user to retrieve roles for |
[- {
- "id": 62,
- "name": "admin",
- "permissions": [
- {
- "id": "accounting"
}, - {
- "id": "login"
}
], - "realmId": 1
}, - {
- "id": 2088,
- "name": "callcenter jCard",
- "permissions": [
- {
- "id": "bluetooth"
}, - {
- "id": "login"
}
], - "realmId": 4
}
]Adds specified roles to the user
| id required | integer ID of the user to add roles to |
| roles | Array of integers |
{- "roles": [
- 64
]
}[- {
- "id": 64,
- "name": "guest",
- "permissions": [
- {
- "id": "login"
}
], - "realmId": 5
}
][- {
- "id": 1222,
- "name": "admin",
- "permissions": [
- {
- "id": "accounting"
}, - {
- "id": "login"
}
], - "realmId": 1
}, - {
- "id": 2088,
- "name": "callcenter jCard",
- "permissions": [
- {
- "id": "login"
}
], - "realmId": 4
}
]Create a new role in the system
| id | integer |
| name | string |
Array of objects (permission) | |
| realmId | integer |
{- "name": "callcenter",
- "permissions": [
- {
- "id": "tranlog",
- "description": "See the transaction log"
}
]
}{- "id": 1455,
- "name": "callcenter",
- "permissions": [
- {
- "id": "tranlog",
- "description": "See the transaction log"
}
], - "realmId": 1
}Retrieve a role by its unique ID
| id required | integer ID of the role to retrieve |
{- "id": 123,
- "name": "example_role",
- "permissions": [
- {
- "id": "permission_1"
}, - {
- "id": "permission_2"
}
], - "realmId": 1
}Update an existing role by its unique ID
| id required | integer ID of the role to update |
| id | integer |
| name | string |
Array of objects (permission) | |
| realmId | integer |
{- "id": 0,
- "name": "string",
- "permissions": [
- {
- "id": "string",
- "description": "string"
}
], - "realmId": 0
}{- "id": 123,
- "name": "updated_role",
- "permissions": [
- {
- "id": "permission_1"
}, - {
- "id": "permission_3"
}
], - "realmId": 1
}Retrieve the permissions associated with a role.
| id required | integer ID of the role |
[- {
- "name": "accounting",
- "value": "Access to accounting records"
}, - {
- "name": "login",
- "value": "Login"
}, - {
- "name": "sysadmin",
- "value": "System Administrator"
}, - {
- "name": "sysconfig",
- "value": ""
}, - {
- "name": "sysconfig.admin",
- "value": ""
}, - {
- "name": "sysconfig.read",
- "value": "View and edit System Configuration"
}, - {
- "name": "sysconfig.write",
- "value": "Admin System Configuration"
}, - {
- "name": "users.read",
- "value": "Read permission on Users"
}, - {
- "name": "users.write",
- "value": "Write permission on Users"
}
]Create new permissions and associate them with a role.
| id required | integer ID of the role |
List of permissions to create and add to the role.
| id | string |
| description | string |
[- {
- "id": "user.write",
- "description": "write users"
}
]{- "errors": "invalid.permissions"
}[- {
- "id": "accounting",
- "description": "Access to accounting records"
}, - {
- "id": "login",
- "description": "Login"
}, - {
- "id": "sysadmin",
- "description": "System Administrator"
}, - {
- "id": "sysconfig.read",
- "description": "View and edit System Configuration"
}, - {
- "id": "sysconfig.write",
- "description": "Admin System Configuration"
}, - {
- "id": "users.read",
- "description": "Read permission on Users"
}, - {
- "id": "users.write",
- "description": "Write permission on Users"
}
]Posts a new MiniGL transaction
| detail | string The transaction detail. |
required | Array of objects List of transaction entries. |
| postDate required | string <date> The posting date in the format "YYYY-MM-DD". |
| journalName required | string The journal name. |
{- "detail": "string",
- "entries": [
- {
- "amount": 0,
- "accountCode": "string",
- "detail": "string",
- "type": "credit",
- "layer": 0
}
], - "postDate": "2019-08-24",
- "journalName": "string"
}{- "id": 0,
- "timestamp": "string",
- "postDate": "string",
- "detail": "string",
- "tags": "string",
- "journalId": 0,
- "entries": [
- {
- "id": 0,
- "detail": "string",
- "tags": "string",
- "credit": true,
- "layer": 0,
- "amount": 0,
- "accountCode": "string",
- "transactionId": 0,
- "transactionPostdate": "string"
}
]
}Retrieve a GL transaction by its ID.
| id required | integer ID of the GL transaction |
{- "id": 0,
- "timestamp": "string",
- "postDate": "string",
- "detail": "string",
- "tags": "string",
- "journalId": 0,
- "entries": [
- {
- "id": 0,
- "detail": "string",
- "tags": "string",
- "credit": true,
- "layer": 0,
- "amount": 0,
- "accountCode": "string",
- "transactionId": 0,
- "transactionPostdate": "string"
}
]
}[- {
- "id": 0,
- "start": "string",
- "end": "string",
- "lockDate": "string",
- "name": "string",
- "closed": true,
- "chart": 0
}
]Retrieve the balance for a specific account.
| journalCode required | string The code of the journal |
| accountCode required | string The code of the account. |
| layers | string Comma-separated list of layers. |
{- "success": true,
- "response": {
- "date": "string",
- "accountCode": "string",
- "balance": 0,
- "layers": "string",
- "journalCode": "string"
}
}Retrieve the account statement for a specific account.
| journalCode required | string The code of the journal |
| accountCode required | string The code of the account. |
| layers | string Comma-separated list of layers. |
| start | string The start date for the account statement. |
| end | string The end date for the account statement. |
{- "accountCode": "11",
- "description": "Issuers",
- "journalCode": "jcard",
- "debits": 1460,
- "credits": 210,
- "start": "Sun Feb 01 00:00:00 UTC 1970",
- "end": "Sun Jan 31 23:59:59 UTC 2100",
- "initialBalance": 0,
- "finalBalance": 1250,
- "layers": [
- 600,
- 840,
- 858
], - "entries": [
- {
- "postDate": "2005-09-01T00:00:00Z",
- "detail": "Initial deposit cardholder 0000001",
- "layer": 858,
- "debit": 1000,
- "balance": 1000,
- "account": "11.001.00",
- "accountDescription": "Received Money"
}, - {
- "postDate": "2005-09-01T00:00:00Z",
- "detail": "Initial deposit cardholder 0000001",
- "layer": 840,
- "debit": 100,
- "balance": 1100,
- "account": "11.001.00",
- "accountDescription": "Received Money"
}, - {
- "postDate": "2007-12-20T00:00:00Z",
- "detail": "Initial deposit cardholder 0000001",
- "layer": 840,
- "debit": 200,
- "balance": 1300,
- "account": "11.001.00",
- "accountDescription": "Received Money"
}, - {
- "postDate": "2013-06-22T00:00:00Z",
- "detail": "Initial deposit cardholder 0000001",
- "layer": 840,
- "debit": 150,
- "balance": 1450,
- "account": "11.001.00",
- "accountDescription": "Received Money"
}, - {
- "postDate": "2015-06-22T00:00:00Z",
- "detail": "Detail",
- "layer": 840,
- "credit": 200,
- "balance": 1250,
- "account": "11.001.00",
- "accountDescription": "Received Money"
}, - {
- "postDate": "2015-09-11T14:54:10Z",
- "detail": "credit 10",
- "layer": 840,
- "debit": 10,
- "balance": 1260,
- "account": "11.001.00",
- "accountDescription": "Received Money"
}, - {
- "postDate": "2015-09-11T14:54:10Z",
- "detail": "debit 10",
- "layer": 840,
- "credit": 10,
- "balance": 1250,
- "account": "11.001.00",
- "accountDescription": "Received Money"
}
]
}Create a new GL account with the provided JSON object.
| chartName required | string Name of the chart |
| code required | string Account code |
| description required | string Account description |
| accountType required | string Type of account (e.g., debit, credit) |
| parentCode required | string Parent account code |
| final required | boolean Indicates if this is a final account |
{- "code": "string",
- "description": "string",
- "accountType": "string",
- "parentCode": "string",
- "final": true
}{- "success": true
}Search for accounts based on various query parameters
| chartName required | string Name of the chart |
| limit | integer Default: 20 Limit the number of results |
| offset | integer Default: 0 Offset for pagination |
| pointer | string <base64> A base64 encoded pointer to the last item shown. When provided, the list will start after this item. Do not use together with 'offset'. |
| q | string Query string for filtering results |
| version required | string API version |
| Authorization required | string Authorization token |
{- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "entity": "string",
- "pointer": "string",
- "info": {
- "id": 0,
- "root": "string",
- "parent": "string",
- "code": "string",
- "description": "string",
- "created": "2019-08-24",
- "expiration": "2019-08-24",
- "type": 0,
- "children": [
- { }
], - "childrenSize": 0
}
}
]
}Retrieve account information given account code and chart name.
| chartName required | string Name of the GL chart. |
| accountCode required | string Account code |
| depth | integer Depth of hierarchy to retrieve. |
| limit | integer Maximum number of accounts to retrieve. |
| offset | integer Offset for paginating results. |
{- "id": 7,
- "root": "jcard",
- "parent": "1",
- "code": "11",
- "description": "Issuers",
- "created": "2015-09-11",
- "type": 1,
- "children": [
- {
- "id": 8,
- "root": "jcard",
- "parent": "11",
- "code": "11.001",
- "description": "Issuer 001",
- "created": "2015-09-11",
- "type": 1,
- "childrenSize": 2
}
], - "childrenSize": 1
}Retrieve GL entries for a specific GL account within the specified date range and layers.
| chartName required | string Name of the chart |
| accountCode required | string Account code |
| limit | integer Maximum number of entries to return |
| offset | integer Number of entries to skip |
| layers | Array of integers Layers to filter entries by |
| startDate | string <date> Start date for filtering entries |
| endDate | string <date> End date for filtering entries |
{- "total": 10,
- "limit": 1,
- "offset": 0,
- "data": [
- {
- "id": 1,
- "detail": "Entry 1",
- "tags": "Tag 1",
- "credit": true,
- "layer": 840,
- "amount": 100,
- "accountCode": "12.001.00",
- "transactionId": 123,
- "transactionPostdate": "2010-01-01T00:00:00Z"
}
]
}Search for accounts with a given parent, based on various query parameters
| chartName required | string Name of the chart |
| accountCode required | string Account code |
| limit | integer Default: 20 Limit the number of results |
| offset | integer Default: 0 Offset for pagination |
| pointer | string <base64> A base64 encoded pointer to the last item shown. When provided, the list will start after this item. Do not use together with 'offset'. |
| q | string Query string for filtering results |
| version required | string API version |
| Authorization required | string Authorization token |
{- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "entity": "string",
- "pointer": "string",
- "info": {
- "id": 0,
- "root": "string",
- "parent": "string",
- "code": "string",
- "description": "string",
- "created": "2019-08-24",
- "expiration": "2019-08-24",
- "type": 0,
- "children": [
- { }
], - "childrenSize": 0
}
}
]
}Create a new wallet based on the provided data.
Wallet to post
| code required | string^[a-zA-Z0-9][-_a-zA-Z0-9]{0,63}$ |
| cardProduct | number |
{- "code": "string",
- "cardProduct": 0
}{- "id": 0,
- "code": "string",
- "active": true,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "agentId": 0,
- "kid": "string",
- "deleted": true,
- "deletedAt": "2019-08-24T14:15:22Z"
}Get all wallets available in the system
| code | string Comma-separated list of wallet codes |
| includeDeleted | boolean If true include deleted wallets, if false or null deleted wallets are not included in result set. |
| limit | integer The maximum number of items to return (pagination). |
| offset | integer The number of items to skip for pagination. |
{- "total": 8,
- "limit": 3,
- "offset": 1,
- "data": [
- {
- "id": 1615,
- "code": "1441994049936",
- "active": true,
- "startDate": "2015-09-11",
- "cardProduct": 73,
- "deleted": true,
- "deletedAt": "2023-10-23 18:46:55.605"
}, - {
- "id": 2506,
- "code": "0981188126",
- "active": true,
- "startDate": "2023-09-14",
- "cardHolder": 2504,
- "cardProduct": 73,
- "deleted": false
}, - {
- "id": 2521,
- "code": "861-530-7266",
- "active": true,
- "startDate": "2023-09-14",
- "cardHolder": 2519,
- "cardProduct": 73,
- "deleted": false
}
]
}Retrieve a wallet by id
| id required | number The unique ID of the wallet |
{- "id": 0,
- "code": "string",
- "active": true,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "agentId": 0,
- "kid": "string",
- "deleted": true,
- "deletedAt": "2019-08-24T14:15:22Z"
}Retrieve a wallet's cashout balance by its ID.
| id required | string The ID of the wallet to retrieve. |
| layers | string Comma-separated list of layers |
| date | string |
| type required | string Transaction type used to calculate fees |
{- "balance": 9.15
}Given the wallet ID, add credit to a wallet.
| id required | number The ID of the wallet to retrieve. |
| description | string |
| amount required | number |
| currency required | string^[0-9]{1,4}$ |
| rrn required | string^[a-zA-Z0-9]{1,12}$ Alphanumeric string, length 12 |
object | |
object | |
| interface | string |
| address | string |
| type required | string |
| realId | string |
| birthDate | string |
| phone | string |
| posAtmCode | string <= 12 characters |
| posAtm | string^[a-zA-Z0-9]{1,8}$ Alphanumeric string, length 8 |
{- "description": "string",
- "amount": 0,
- "currency": "string",
- "rrn": "string",
- "geoLocation": {
- "latitude": 0,
- "longitude": 0
}, - "financialEntityData": {
- "entityId": "str",
- "entityCustomerAccount": "string",
- "entityCustomerMaskedCard": "string"
}, - "interface": "string",
- "address": "string",
- "type": "string",
- "realId": "string",
- "birthDate": "string",
- "phone": "string",
- "posAtmCode": "string",
- "posAtm": "string"
}{- "fees": [
- "string"
], - "amountWithFees": 0
}Given the wallet ID, create a debit to the wallet.
| id required | number The ID of the wallet to retrieve. |
| description | string |
| amount required | number |
| currency required | string Comma-separated string of layers |
| rrn required | string^[a-zA-Z0-9]{1,12}$ Alphanumeric string, length 12 |
object | |
object | |
object | |
| posAtm | string^[a-zA-Z0-9]{1,8}$ Alphanumeric string, length 8 |
| type required | string |
| pin | string |
| posAtmCode | string <= 12 characters |
| realId | string |
| birthDate | string |
| interface | string |
{- "description": "string",
- "amount": 0,
- "currency": "string",
- "rrn": "string",
- "geoLocation": {
- "latitude": 0,
- "longitude": 0
}, - "financialEntityData": {
- "entityId": "str",
- "entityCustomerAccount": "string"
}, - "operationAdditionalInfo": {
- "serviceName": "string",
- "customerData": "string"
}, - "posAtm": "string",
- "type": "string",
- "pin": "string",
- "posAtmCode": "string",
- "realId": "string",
- "birthDate": "string",
- "interface": "string"
}{- "fees": [
- "string"
], - "amountWithFees": 0
}Create transfer transaction between two wallets.
| sourceWallet required | string The id of the wallet to retrieve. |
| destinationWallet required | string The id of the wallet to retrieve. |
| description | string |
| amount required | number |
| currency required | string Comma-separated string of layers |
| rrn required | string^[a-zA-Z0-9]{1,12}$ Alphanumeric string, length 12 |
object | |
object | |
| agentId | string |
| realId | string |
| birthDate | string |
| phone | string |
| pin required | string |
| interface | string |
| type required | string |
{- "amount": 200,
- "currency": "3600",
- "description": "test",
- "rrn": "{{$randomAlphaNumeric}}",
- "geoLocation": {
- "latitude": 34.8836,
- "longitude": 56.1819
}, - "type": "test",
- "realId": "0981383649",
- "pin": "1234"
}{- "fees": [
- "string"
], - "amountWithFees": 0
}Returns the TranLog entries of a specified wallet.
| id required | number The ID of the wallet to retrieve. |
| limit | integer Maximum number of results to return |
| offset | integer Number of results to skip |
| startDate | string (dateFormat) ^((19|20)\d\d)-(0[1-9]|1[012])-(0[1-9]|[12][0... Start date for filtering tranlogs |
| endDate | string (dateFormat) ^((19|20)\d\d)-(0[1-9]|1[012])-(0[1-9]|[12][0... End date for filtering tranlogs |
| itcs | string Comma-separated list of itcs for filtering tranlogs |
| ircs | string Comma-separated list of ircs for filtering tranlogs |
| tags | string Comma-separated list of tags for filtering tranlogs |
{- "total": 2,
- "limit": 10,
- "offset": 0,
- "data": [
- {
- "id": 3459,
- "localId": 1,
- "node": "01",
- "rrn": "377",
- "currencyCode": "840",
- "reversalCount": 0,
- "completionCount": 0,
- "voidCount": 0,
- "date": "2023-12-05",
- "captureDate": "2023-12-05",
- "batchNumber": 0,
- "itc": "wcredit",
- "irc": "0000",
- "amount": 250,
- "issuerFee": 0,
- "ssData": "test",
- "duration": 0,
- "outstanding": 0,
- "accountCode": "23.1234567",
- "walletCode": "1234567",
- "glTransactionId": 3460,
- "followUps": [ ],
- "additionalData": {
- "jsonRequest": {
- "amount": 250,
- "currency": "1840",
- "description": "test",
- "rrn": "377",
- "type": "test",
- "tags": "pending"
}, - "typeDescription": null
}, - "tags": "claimed",
- "deleted": false,
- "presentmentCount": 0
}, - {
- "id": 3464,
- "localId": 1,
- "node": "01",
- "rrn": "9i7",
- "currencyCode": "840",
- "reversalCount": 0,
- "completionCount": 0,
- "voidCount": 0,
- "date": "2023-12-05",
- "captureDate": "2023-12-05",
- "batchNumber": 0,
- "itc": "wcredit",
- "irc": "0000",
- "amount": 250,
- "issuerFee": 0,
- "ssData": "test",
- "duration": 0,
- "outstanding": 0,
- "accountCode": "23.1234567",
- "walletCode": "1234567",
- "glTransactionId": 3465,
- "followUps": [ ],
- "additionalData": {
- "jsonRequest": {
- "amount": 250,
- "currency": "1840",
- "description": "test",
- "rrn": "9i7",
- "type": "test",
- "tags": "pending"
}, - "typeDescription": null
}, - "tags": "claimed",
- "deleted": false,
- "presentmentCount": 0
}
]
}Returns the entries between start and end date chronologically ordered.
| id required | number The ID of the wallet to retrieve. |
| itc | string Comma-separated string of ITCs that should be included |
| length | number Amount of entries wanted (default: 5) |
| start | string Start date (yyyy-MM-dd) |
| end | string End date (yyyy-MM-dd) |
| asc | boolean True if entries should be ordered by ID ascending (default: false) |
| layers required | string Comma-separated string of layers. |
| order | string asc/desc. Ascending or descending order by id. |
{- "accountCode": "23.0981188126",
- "description": "Customer: 0981188126 (test test) Wallet: 0981188126",
- "journalCode": "jcard",
- "debits": 0,
- "credits": 200,
- "initialBalance": 0,
- "finalBalance": 200,
- "start": "Sun Feb 01 00:00:00 UYT 1970",
- "end": "Sun Jan 31 23:59:59 UYT 2100",
- "layers": [
- 840,
- 1840
], - "entries": [
- {
- "postDate": "2016-03-23T14:23:55Z",
- "detail": "Test. Credit 200 on 840",
- "layer": 840,
- "credit": 200,
- "balance": 200,
- "tags": "cashInA2W",
- "geoLocation": {
- "latitude": -33,
- "longitude": 54.233023
}, - "wallet1": "1458743035773",
- "rrn": "826457403070",
- "fees": 0,
- "reversalCount": 0
}
]
}Given the wallet's ID and customer's realId, link the wallet to the customer
| id required | number The ID of the wallet to retrieve. |
| realId required | string |
{- "realId": "099111222"
}{- "error": "wallet.not.found",
- "success": false
}Given the wallet ID, change the PIN
| id required | number The ID of the wallet to retrieve. |
| pin required | string |
{- "pin": "1234"
}{- "error": "wallet.not.found",
- "success": false
}Retrieve all TranLog based on the filters
| startDate | string Start date for filtering tranlogs |
| endDate | string End date for filtering tranlogs |
| itcs | string Comma-separated list of itcs for filtering tranlogs |
| ircs | string Comma-separated list of ircs for filtering tranlogs |
| rrn | string Comma-separated list of rrn values for filtering tranlogs |
| cards | string Comma-separated list of cards for filtering tranlogs |
| limit | integer Maximum number of results to return |
| offset | integer Number of results to skip |
{- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "id": 0,
- "localId": 0,
- "node": "string",
- "acquirer": "string",
- "mid": "string",
- "tid": "string",
- "stan": "string",
- "rrn": "string",
- "lifecycleIndicator": "string",
- "lifecycleTrace": "string",
- "lifecycleSequence": "string",
- "lifecycleAuthToken": "string",
- "responseCode": "string",
- "approvalNumber": "string",
- "displayMessage": "string",
- "currencyCode": "string",
- "functionCode": "string",
- "reasonCode": "string",
- "fileName": "string",
- "reversalId": 0,
- "reversalCount": 0,
- "completionId": 0,
- "completionCount": 0,
- "voidId": 0,
- "voidCount": 0,
- "date": "string",
- "transmissionDate": "string",
- "localTransactionDate": "string",
- "captureDate": "string",
- "settlementDate": "string",
- "batchNumber": 0,
- "itc": "string",
- "originalItc": "string",
- "irc": "string",
- "amount": 0,
- "additionalAmount": 0,
- "replacementAmount": 0,
- "acquirerFee": 0,
- "issuerFee": 0,
- "returnedBalances": "string",
- "rc": "string",
- "extrc": "string",
- "ss": "string",
- "ssData": "string",
- "mcc": "string",
- "duration": 0,
- "outstanding": 0,
- "refId": 0,
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "card": {
- "id": 0,
- "bin": "string",
- "lastFour": "string",
- "token": "string",
- "state": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "accountCode": "string",
- "smart": true,
- "virtual": true,
- "embossingName": "string"
}, - "card2": {
- "id": 0,
- "bin": "string",
- "lastFour": "string",
- "token": "string",
- "state": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "accountCode": "string",
- "smart": true,
- "virtual": true,
- "embossingName": "string"
}, - "account": {
- "id": 0,
- "root": "string",
- "parent": "string",
- "code": "string",
- "description": "string",
- "created": "2019-08-24",
- "expiration": "2019-08-24",
- "type": 0,
- "children": [
- { }
], - "childrenSize": 0
}, - "account2": {
- "id": 0,
- "root": "string",
- "parent": "string",
- "code": "string",
- "description": "string",
- "created": "2019-08-24",
- "expiration": "2019-08-24",
- "type": 0,
- "children": [
- { }
], - "childrenSize": 0
}, - "wallet": {
- "id": 0,
- "code": "string",
- "active": true,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "agentId": 0,
- "kid": "string",
- "deleted": true,
- "deletedAt": "2019-08-24T14:15:22Z"
}, - "wallet2": {
- "id": 0,
- "code": "string",
- "active": true,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "agentId": 0,
- "kid": "string",
- "deleted": true,
- "deletedAt": "2019-08-24T14:15:22Z"
}, - "glTransaction": {
- "id": 0,
- "timestamp": "string",
- "postDate": "string",
- "detail": "string",
- "tags": "string",
- "journalId": 0,
- "entries": [
- {
- "id": 0,
- "detail": "string",
- "tags": "string",
- "credit": true,
- "layer": 0,
- "amount": 0,
- "accountCode": "string",
- "transactionId": 0,
- "transactionPostdate": "string"
}
]
}, - "cardAcceptor": {
- "name": "string",
- "city": "string",
- "region": "string",
- "country": "string",
- "address": "string",
- "postalCode": "string",
- "phone": "string"
}, - "geoLocation": "string",
- "followUps": [
- {
- "id": 0,
- "tranLogId": 0,
- "date": "string",
- "detail": "string"
}
], - "additionalData": { },
- "tags": "string",
- "deleted": true,
- "atc": 0,
- "presentmentId": 0,
- "presentmentCount": 0
}
]
}Retrieves the specified transaction by its unique ID.
| id required | integer The unique ID of the tranLog entry |
{- "id": 0,
- "node": "string",
- "rrn": "string",
- "amount": 0,
- "fees": 0,
- "reversalCount": 0,
- "responseCode": "string",
- "captureDate": "string",
- "itc": "string",
- "ssData": { },
- "returnedBalances": 0,
- "currencyCode": "string",
- "wallet": "string",
- "customer": "string",
- "agent": "string",
- "wallet2": "string",
- "customer2": "string",
- "agent2": "string",
- "additionalData": { },
- "geoLocation": { },
- "transaction": {
- "timestamp": "string",
- "detail": "string",
- "tags": "string",
- "journal": "string",
- "postDate": "string",
- "date": "string",
- "entries": [
- {
- "id": 0,
- "detail": "string",
- "tags": "string",
- "credit": true,
- "layer": 0,
- "amount": 0,
- "accountCode": "string",
- "transactionId": 0,
- "transactionPostdate": "string"
}
]
}
}Retrieves the specified transaction
| rrn required | string RRN of the tranlog to retrieve |
{- "id": 0,
- "node": "string",
- "rrn": "string",
- "amount": 0,
- "fees": 0,
- "reversalCount": 0,
- "responseCode": "string",
- "captureDate": "string",
- "itc": "string",
- "ssData": { },
- "returnedBalances": 0,
- "currencyCode": "string",
- "wallet": "string",
- "customer": "string",
- "agent": "string",
- "wallet2": "string",
- "customer2": "string",
- "agent2": "string",
- "additionalData": { },
- "geoLocation": { },
- "transaction": {
- "timestamp": "string",
- "detail": "string",
- "tags": "string",
- "journal": "string",
- "postDate": "string",
- "date": "string",
- "entries": [
- {
- "id": 0,
- "detail": "string",
- "tags": "string",
- "credit": true,
- "layer": 0,
- "amount": 0,
- "accountCode": "string",
- "transactionId": 0,
- "transactionPostdate": "string"
}
]
}
}Posts a reversal for the given transaction
| id required | string ID of the tranlog to reverse |
{- "id": 0,
- "node": "string",
- "rrn": "string",
- "amount": 0,
- "fees": 0,
- "reversalCount": 0,
- "responseCode": "string",
- "captureDate": "string",
- "itc": "string",
- "ssData": { },
- "returnedBalances": 0,
- "currencyCode": "string",
- "wallet": "string",
- "customer": "string",
- "agent": "string",
- "wallet2": "string",
- "customer2": "string",
- "agent2": "string",
- "additionalData": { },
- "geoLocation": { },
- "transaction": {
- "timestamp": "string",
- "detail": "string",
- "tags": "string",
- "journal": "string",
- "postDate": "string",
- "date": "string",
- "entries": [
- {
- "id": 0,
- "detail": "string",
- "tags": "string",
- "credit": true,
- "layer": 0,
- "amount": 0,
- "accountCode": "string",
- "transactionId": 0,
- "transactionPostdate": "string"
}
]
}
}Reverses transaction from pending layer and applies it on real layer
| id required | string ID of the tranlog to claim |
{- "id": 0,
- "localId": 0,
- "node": "string",
- "acquirer": "string",
- "mid": "string",
- "tid": "string",
- "stan": "string",
- "rrn": "string",
- "lifecycleIndicator": "string",
- "lifecycleTrace": "string",
- "lifecycleSequence": "string",
- "lifecycleAuthToken": "string",
- "responseCode": "string",
- "approvalNumber": "string",
- "displayMessage": "string",
- "currencyCode": "string",
- "functionCode": "string",
- "reasonCode": "string",
- "fileName": "string",
- "reversalId": 0,
- "reversalCount": 0,
- "completionId": 0,
- "completionCount": 0,
- "voidId": 0,
- "voidCount": 0,
- "date": "string",
- "transmissionDate": "string",
- "localTransactionDate": "string",
- "captureDate": "string",
- "settlementDate": "string",
- "batchNumber": 0,
- "itc": "string",
- "originalItc": "string",
- "irc": "string",
- "amount": 0,
- "additionalAmount": 0,
- "replacementAmount": 0,
- "acquirerFee": 0,
- "issuerFee": 0,
- "returnedBalances": "string",
- "rc": "string",
- "extrc": "string",
- "ss": "string",
- "ssData": "string",
- "mcc": "string",
- "duration": 0,
- "outstanding": 0,
- "refId": 0,
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "card": {
- "id": 0,
- "bin": "string",
- "lastFour": "string",
- "token": "string",
- "state": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "accountCode": "string",
- "smart": true,
- "virtual": true,
- "embossingName": "string"
}, - "card2": {
- "id": 0,
- "bin": "string",
- "lastFour": "string",
- "token": "string",
- "state": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "accountCode": "string",
- "smart": true,
- "virtual": true,
- "embossingName": "string"
}, - "account": {
- "id": 0,
- "root": "string",
- "parent": "string",
- "code": "string",
- "description": "string",
- "created": "2019-08-24",
- "expiration": "2019-08-24",
- "type": 0,
- "children": [
- { }
], - "childrenSize": 0
}, - "account2": {
- "id": 0,
- "root": "string",
- "parent": "string",
- "code": "string",
- "description": "string",
- "created": "2019-08-24",
- "expiration": "2019-08-24",
- "type": 0,
- "children": [
- { }
], - "childrenSize": 0
}, - "wallet": {
- "id": 0,
- "code": "string",
- "active": true,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "agentId": 0,
- "kid": "string",
- "deleted": true,
- "deletedAt": "2019-08-24T14:15:22Z"
}, - "wallet2": {
- "id": 0,
- "code": "string",
- "active": true,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "agentId": 0,
- "kid": "string",
- "deleted": true,
- "deletedAt": "2019-08-24T14:15:22Z"
}, - "glTransaction": {
- "id": 0,
- "timestamp": "string",
- "postDate": "string",
- "detail": "string",
- "tags": "string",
- "journalId": 0,
- "entries": [
- {
- "id": 0,
- "detail": "string",
- "tags": "string",
- "credit": true,
- "layer": 0,
- "amount": 0,
- "accountCode": "string",
- "transactionId": 0,
- "transactionPostdate": "string"
}
]
}, - "cardAcceptor": {
- "name": "string",
- "city": "string",
- "region": "string",
- "country": "string",
- "address": "string",
- "postalCode": "string",
- "phone": "string"
}, - "geoLocation": "string",
- "followUps": [
- {
- "id": 0,
- "tranLogId": 0,
- "date": "string",
- "detail": "string"
}
], - "additionalData": { },
- "tags": "string",
- "deleted": true,
- "atc": 0,
- "presentmentId": 0,
- "presentmentCount": 0
}Retrieve various metrics and statistics based on the provided parameters and metrics list
| startDate | string <date> Start date for the statistics period |
| endDate | string <date> End date for the statistics period |
| cards | string Comma-separated list of card tokens |
| metrics required | Array of strings Items Enum: "group_by_<field>" "total_amount" "transactions_count" "approved_transactions[_with_sum]" "reversed_transactions[_with_sum]" "voided_transactions[_with_sum]" "pending_transactions[_with_sum]" "transactions_by_<range>" List of metrics to retrieve. Supported patterns:
|
{- "metrics": [
- "group_by_itc",
- "total_amount",
- "transactions_count",
- "approved_transactions_with_sum",
- "reversed_transactions",
- "voided_transactions_with_sum",
- "pending_transactions",
- "transactions_by_day"
]
}{- "total": 0,
- "hasNext": true,
- "data": [
- {
- "name": "string",
- "type": "SINGLE",
- "value": { },
- "groups": [
- { }
], - "additionalMetrics": [
- { }
]
}
]
}Creates a new customer based on the body
| wallet required | string Value: "no" Specify 'no' to create a customer without associating with a wallet. |
| realId required | string |
| active | boolean |
| startDate | string |
| endDate | string |
| honorific | string |
| gender | any Enum: "f" "m" |
| firstName required | string |
| middleName | string |
| lastName required | string |
| lastName2 | string |
string | |
| address1 | string |
| address2 | string |
| city | string |
| state | string |
| zip | string |
| country | string |
| birthDate | string |
| notes | string |
| phone required | string |
| walletCode | string^[a-zA-Z0-9][-_a-zA-Z0-9]{0,63}$ |
| institutionId required | string |
| currencyCodes | Array of integers |
{- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "f",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "walletCode": "string",
- "institutionId": "string",
- "currencyCodes": [
- 0
]
}{- "id": 2623
}Get a list of all customers with detailed information.
| limit | integer The maximum number of items to return (pagination). |
| offset | integer The number of items to skip for pagination. |
| pointer | string <base64> A base64 encoded pointer to the last item shown. When provided, the list will start after this item. Do not use together with 'offset'. |
| q | string Example: q=John* OR Smith The search query string. Use '*' as a wildcard. The query syntax supports basic search operations. |
{- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "entity": "string",
- "pointer": "string",
- "info": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}
}
]
}Get a customer by their unique ID.
| id required | integer ID of the customer to retrieve |
{- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}Get the balance of all of the customer accounts.
| id required | string the customer's id |
[- {
- "balance": 0,
- "journalCode": "jcard",
- "accountCode": "21.0000000001.31"
}, - {
- "balance": 0,
- "journalCode": "jcard",
- "accountCode": "21.0000000001.00"
}
]Retrieve a list of customer's cards.
| id required | string the customer's id |
{- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "entity": "string",
- "pointer": "string",
- "info": {
- "id": 0,
- "bin": "string",
- "lastFour": "string",
- "token": "string",
- "state": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "cardHolder": {
- "id": 0,
- "realId": "string",
- "active": true,
- "startDate": "string",
- "endDate": "string",
- "honorific": "string",
- "gender": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "lastName2": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "birthDate": "string",
- "notes": "string",
- "phone": "string",
- "searchPath": "string",
- "issuerId": 0
}, - "cardProduct": {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}, - "accountCode": "string",
- "smart": true,
- "virtual": true,
- "embossingName": "string"
}
}
]
}Create a prepaid card for cardholder
| id required | string the customer's realId |
| cardProduct required | string |
| expiration | string^[0-9]{6}$ Expiration in yyyyMM format |
{- "cardProduct": "string",
- "expiration": "string"
}{- "id": 2697
}Creates a new Agent based on the schema
| wallet | boolean Boolean indicating whether to create a wallet or not. Accepts |
| id | integer |
| name required | string |
| parentId | number |
| phone required | string |
| type | string |
| fundingAccountId | string |
| active | boolean |
| mcc | string |
{- "name": "TestAgent",
- "phone": "2232323232",
- "type": "PDV",
- "account": "11.11111"
}{- "walletId": "string",
- "agentId": "string",
- "pin": "string"
}Updates data of existing Agent
| id required | string the agent's id |
| name | string |
| parentId | number |
| type | string |
| account | string |
| active | boolean |
| mcc | string |
| phone | string |
{- "name": "Agent 1",
- "type": "PDV",
- "account": "11.11111"
}{- "errors": "invalid.permissions"
}Create a new card product with the provided information.
| name required | string <= 40 characters |
| code required | string |
| endDate | string <date> Date in yyyy-MM-dd |
| startDate | string <date> Date in yyyy-MM-dd |
| active required | boolean |
| atm required | boolean |
| pos required | boolean |
| moto required | boolean |
| ecommerce required | boolean |
| tips required | boolean |
| anonymous required | boolean |
| issuerId required | integer |
| issuedAccountCode | string |
| feeAccountCode | string |
| lossesAccountCode | string |
| externalAccount | string |
| bin | string |
| smart | boolean |
| randomCardNumber | boolean |
| scheme | string |
| cardType | string |
| renewable | boolean |
| expAfterMonth | integer |
| panLength | integer |
| panStart | string |
| panEnd | string |
| transactionTypes | Array of strings |
{- "name": "Demo Card",
- "code": "12345AB12C",
- "issuerId": 67,
- "active": true,
- "anonymous": false,
- "bin": "123456",
- "randomCardNumber": false,
- "atm": true,
- "ecommerce": true,
- "moto": false,
- "pos": true,
- "tips": true,
- "smart": true,
- "startDate": "2023-08-01",
- "endDate": "2023-12-31",
- "panLength": 16
}{- "id": 2773,
- "name": "Olive Card",
- "code": "123454",
- "active": true,
- "anonymous": false,
- "bin": "123456",
- "randomCardNumber": false,
- "allowAtm": true,
- "allowEcommerce": true,
- "allowMoto": false,
- "allowPos": true,
- "allowTips": true,
- "smart": true,
- "startDate": "2023-08-01T00:00:00.000Z",
- "endDate": "2023-12-31T00:00:00.000Z",
- "issuer": 67,
- "institutionId": "00000000001",
- "issuedAccount": "11.001.123454",
- "feeAccount": "31.001.123454",
- "lossesAccount": "41.001.123454",
- "panLength": 16
}Retrieve a list of card products based on various filters.
| cardType | string Filter by card types |
| scheme | string Filter by schemes |
| atm | boolean Filter by ATM |
| pos | boolean Filter by POS |
| moto | boolean Filter by Moto |
| tips | boolean Filter by tips |
| ecommerce | boolean Filter by E-commerce |
| anonymous | boolean Filter by anonymity |
| smart | boolean Filter by smart cards |
| limit | integer Number of results to return |
| offset | integer Number of results to skip |
| pointer | string <base64> A base64 encoded pointer to the last item shown. When provided, the list will start after this item. Do not use together with 'offset'. |
{- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "entity": "string",
- "pointer": "string",
- "info": {
- "id": 0,
- "root": "string",
- "parent": "string",
- "code": "string",
- "description": "string",
- "created": "2019-08-24",
- "expiration": "2019-08-24",
- "type": 0,
- "children": [
- { }
], - "childrenSize": 0
}
}
]
}Retrieve a card product by its unique ID.
| id required | integer The unique ID of the card product |
{- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}Update card product's information
| id required | integer The unique ID of the card product |
| name | string <= 40 characters |
| code | string |
| endDate | string\\d{4}-\\d{2}-\\d{2} Date in yyyy-MM-dd format |
| startDate | string\\d{4}-\\d{2}-\\d{2} Date in yyyy-MM-dd format |
| active | boolean |
| atm | boolean |
| pos | boolean |
| moto | boolean |
| ecommerce | boolean |
| tips | boolean |
| anonymous | boolean |
| issuedAccountCode | string |
| feeAccountCode | string |
| lossesAccountCode | string |
| externalAccount | string |
| bin | string |
| smart | boolean |
| randomCardNumber | boolean |
| scheme | string |
| cardType | string |
| renewable | boolean |
| expAfterMonth | integer |
| panLength | integer |
| panStart | string |
| panEnd | string |
| transactionTypes | Array of strings |
{- "name": "string",
- "code": "string",
- "endDate": "string",
- "startDate": "string",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}{- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}Retrieve all the velocity profiles associated to the card product
| id required | integer The unique ID of the card product |
[- {
- "id": 0,
- "name": "string",
- "usageLimit": 0,
- "active": true,
- "approvalsOnly": true,
- "scopeCard": true,
- "scopeAccount": true,
- "validOnPurchase": true,
- "validOnWithdrawal": true,
- "validOnTransfer": true,
- "validOnCredit": true,
- "currencyCode": "string",
- "amountLimit": 0,
- "numberOfDays": 0,
- "scopeMonthly": true,
- "scopeDaily": true
}
]Update which velocity profiles are associated to the card product
| id required | integer The unique ID of the card product |
| velocityProfiles | Array of integers |
{- "velocityProfiles": [
- 0
]
}[- {
- "id": 0,
- "name": "string",
- "usageLimit": 0,
- "active": true,
- "approvalsOnly": true,
- "scopeCard": true,
- "scopeAccount": true,
- "validOnPurchase": true,
- "validOnWithdrawal": true,
- "validOnTransfer": true,
- "validOnCredit": true,
- "currencyCode": "string",
- "amountLimit": 0,
- "numberOfDays": 0,
- "scopeMonthly": true,
- "scopeDaily": true
}
]Retrieve all the fees associated to the card product
| id required | integer The unique ID of the card product |
[- {
- "id": 0,
- "name": "string",
- "type": "string",
- "amount": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "startAmount": 0,
- "endAmount": 0
}
]Update which fees are associated to the card product
| id required | integer The unique ID of the card product |
| fees | Array of integers |
{- "fees": [
- 0
]
}[- {
- "id": 0,
- "name": "string",
- "type": "string",
- "amount": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "startAmount": 0,
- "endAmount": 0
}
]Create a new card with the provided information.
| cardHolder | string CardHolder's id. |
| cardProduct required | string CardProduct's id. |
| bin required | string^[0-9]{6}$|^[0-9]{8}$ Numeric string, length 6 or 8 |
| pan | string^[0-9]{13,19}$ Numeric string, lengths 13-19 |
| track1 | string^[%]?[A-Z]+([0-9]{1,19})\\^([^\\^]{2,26})\\^(... Credit/Debit card Track 1 pattern |
| track2 | string^([0-9]{1,19})[=D]([0-9]{4})([0-9]{3})?([0-9]... Credit/Debit card Track 2 pattern |
| expiration required | string^([0-9]{4}(0[0-9]|1[0-2]))$ Expiration date numeric |
| serviceCode required | string^[0-9]{3}$ Service code three digit numeric |
| embossingName | string |
| virtual | boolean |
| smart | boolean |
| accountCode | string |
{- "cardHolder": 32,
- "cardProduct": 134,
- "bin": "455566",
- "expiration": "201805",
- "serviceCode": "220",
- "embossingName": "John",
- "virtual": true,
- "smart": true
}{- "token": "string",
- "lastFour": "string",
- "pinEnabled": true,
- "status": "string"
}Get all cards available in the system
| limit | integer The maximum number of items to return (pagination). |
| offset | integer The number of items to skip for pagination. |
| pointer | string <base64> A base64 encoded pointer to the last item shown. When provided, the list will start after this item. Do not use together with 'offset'. |
| startExpirationDate | string Start date for filtering cards by expiration date. |
| endExpirationDate | string End date for filtering cards by expiration date. |
| cardHolders | string Comma-separated list of card holder IDs for filtering. |
| cardProducts | string Comma-separated list of card product IDs for filtering. |
| states | string Comma-separated list of card states for filtering. |
| lastFour | string Comma-separated list of cards' last four for filtering. |
{- "total": 2,
- "limit": 10,
- "offset": 0,
- "data": [
- {
- "entity": "card",
- "pointer": "WzMsMTA2NDNd",
- "info": {
- "id": 1090,
- "bin": "600933",
- "lastFour": "0025",
- "token": "null",
- "state": "CREATED",
- "startDate": "2005-01-01",
- "endDate": "2049-12-31",
- "cardProduct": {
- "id": 72,
- "name": "Gift Cards",
- "code": "72",
- "endDate": "2049-01-01",
- "startDate": "2005-01-01",
- "active": true,
- "atm": false,
- "pos": false,
- "moto": false,
- "ecommerce": false,
- "tips": false,
- "anonymous": true,
- "issuerId": 67,
- "issuedAccountCode": "11.001.00",
- "feeAccountCode": "31.001.00",
- "smart": false,
- "randomCardNumber": false,
- "scheme": "Visa",
- "renewable": false,
- "expAfterMonth": 12,
- "panLength": 14,
- "transactionTypes": [ ]
}, - "smart": false,
- "virtual": false
}
}, - {
- "entity": "card",
- "pointer": "WzMsMTA2NDRd",
- "info": {
- "id": 1091,
- "bin": "600933",
- "lastFour": "0033",
- "token": "null",
- "state": "CREATED",
- "startDate": "2005-01-01",
- "endDate": "2049-12-31",
- "cardProduct": {
- "id": 72,
- "name": "Gift Cards",
- "code": "72",
- "endDate": "2049-01-01",
- "startDate": "2005-01-01",
- "active": true,
- "atm": false,
- "pos": false,
- "moto": false,
- "ecommerce": false,
- "tips": false,
- "anonymous": true,
- "issuerId": 67,
- "issuedAccountCode": "11.001.00",
- "feeAccountCode": "31.001.00",
- "smart": false,
- "randomCardNumber": false,
- "scheme": "Visa",
- "renewable": false,
- "expAfterMonth": 12,
- "panLength": 14,
- "transactionTypes": [ ]
}, - "smart": false,
- "virtual": false
}
}
]
}Get card information based on the token
| token required | string The unique token for the card |
{- "id": 2700,
- "bin": "455566",
- "lastFour": "9790",
- "token": "98435bf9-a1ee-467d-89af-e802a4da2188",
- "state": "ACTIVE",
- "startDate": "2023-10-25",
- "endDate": "2018-05-31",
- "cardHolder": {
- "id": 1086,
- "realId": "0000001",
- "active": true,
- "startDate": "2005-01-01",
- "endDate": "2049-01-01",
- "honorific": "Mr.",
- "gender": "M",
- "firstName": "Joe",
- "lastName": "Holder",
- "email": "mail@mail.com",
- "state": "MONTEVIDEO",
- "birthDate": "1987-05-25",
- "issuerId": 67
}, - "cardProduct": {
- "name": "jCard",
- "endDate": "2049-01-01",
- "startDate": "2005-01-01",
- "active": true,
- "atm": false,
- "pos": false,
- "moto": false,
- "ecommerce": false,
- "tips": false,
- "anonymous": false,
- "bin": "411111",
- "smart": false,
- "randomCardNumber": false,
- "scheme": "1",
- "renewable": false,
- "expAfterMonth": 12,
- "transactionTypes": [ ],
- "id": 68,
- "issuerId": 67,
- "issuedAccountCode": "11.001.00",
- "feeAccountCode": "31.001.00",
- "panLength": 14
}, - "smart": false,
- "virtual": true,
- "embossingName": "John"
}Update card information based on input
| token required | string The unique token for the card |
| cardProduct | number |
| expiration | string^[0-9]{4}(0[0-9]|1[0-2])$ Expiration date numeric |
| virtual | boolean |
| smart | boolean |
{- "virtual": true
}{- "errors": "invalid.token"
}Post a credit transaction to the given card
| token required | string The unique token for the card |
| currency required | number |
| amount required | number >= 0 |
| rrn required | string^[a-zA-Z0-9]{1,12}$ Alphanumeric string, length 12 |
| description | string |
| channel | string |
| invoice | string |
| reason | string |
{- "currency": 840,
- "amount": 100.5,
- "description": "Payment for services",
- "channel": "Online",
- "invoice": "INV12345",
- "reason": "Monhtly subscription",
- "rrn": "AB12XYZ"
}{- "APPROVAL_NUMBER": "720351",
- "ITC": "cardrest::credit",
- "RESULT_CODE": "0000"
}Post a transfer transaction between two cards
| recipient required | string non-empty |
| sender required | string non-empty |
| currency required | number |
| amount required | number >= 0 |
| reference | string [ 1 .. 250 ] characters |
| rrn required | string^[a-zA-Z0-9]{1,12}$ Alphanumeric string, length 12 |
| reason | string [ 1 .. 250 ] characters |
| channel | string non-empty |
| description | string |
{- "recipient": "cb29ad3f",
- "sender": "98435bf9",
- "currency": 3600,
- "amount": 10.5,
- "reference": "Payment for services",
- "rrn": "AB12XYZ",
- "reason": "Monthly subscription",
- "channel": "Online",
- "description": "Transfer from sender to recipient"
}{- "APPROVAL_NUMBER": "720351",
- "ITC": "cardrest::transf",
- "RESULT_CODE": "0000"
}Post a debit transaction to the given card
| token required | string The unique token for the card |
| currency required | number |
| amount required | number >= 0 |
| rrn required | string^[a-zA-Z0-9]{1,12}$ Alphanumeric string, length 12 |
| description | string |
| channel | string |
| invoice | string |
| reason | string |
{- "currency": 840,
- "amount": 100.5,
- "description": "Payment for services",
- "channel": "Online",
- "invoice": "INV12345",
- "reason": "Monhtly subscription",
- "rrn": "AB12XYZ"
}{- "APPROVAL_NUMBER": "720351",
- "ITC": "cardrest::debit",
- "RESULT_CODE": "0000"
}Change card's state to given one
| token required | string The unique token for the card |
| cardState required | string Enum: "nonactivated" "active" "suspended" "lost" "stolen" "fraud" "compliance" "debt" "created" "issued" "deleted" "expired" "cancelled" |
{- "cardState": "lost"
}{- "errors": "invalid.change"
}Change the given card's pin to new one
| token required | string The unique token for the card |
| newPIN required | string >= 16 characters ^[A-Z0-9]*$ |
| oldPIN required | string >= 16 characters ^[A-Z0-9]*$ |
{- "newPIN": "stringstringstri",
- "oldPIN": "stringstringstri"
}{- "errors": "invalid.change"
}Assign an account to the given card
| token required | string The unique token for the card |
| accountCode required | string |
{- "accountCode": "23.001.00"
}{- "errors": "invalid.change"
}Assign a cardholder to the given card
| token required | string The unique token for the card |
| cardholderRealId required | string |
{- "cardholderRealId": "23.001.00"
}{- "errors": "invalid.change"
}Given the card's token, get the balance
| token required | string The unique token for the card |
{- "date": "2023-11-06",
- "layers": "840",
- "balance": 1000.5,
- "journalCode": "jcard",
- "accountCode": "23.000.01"
}Retrieve all velocity profiles in the system
| scopeCard | boolean |
| scopeAccount | boolean |
| scopeMonthly | boolean |
| scopeDaily | boolean |
| numberOfDays | integer |
| currencyCode | string |
| cardProducts | string |
| limit | integer |
| offset | integer |
[- {
- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "id": 0,
- "name": "string",
- "usageLimit": 0,
- "active": true,
- "approvalsOnly": true,
- "scopeCard": true,
- "scopeAccount": true,
- "validOnPurchase": true,
- "validOnWithdrawal": true,
- "validOnTransfer": true,
- "validOnCredit": true,
- "currencyCode": "string",
- "amountLimit": 0,
- "numberOfDays": 0,
- "scopeMonthly": true,
- "scopeDaily": true,
- "cardProducts": [
- {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}
]
}
]
}
]Create a new velocity profile with the provided information
| name required | string |
| usageLimit | integer |
| active | boolean |
| approvalsOnly | boolean |
| scopeCard | boolean |
| scopeAccount | boolean |
| validOnPurchase | boolean |
| validOnWithdrawal | boolean |
| validOnTransfer | boolean |
| validOnCredit | boolean |
| currencyCode required | string |
| amountLimit required | number |
| numberOfDays | integer |
| scopeMonthly | boolean |
| scopeDaily | boolean |
{- "name": "string",
- "usageLimit": 0,
- "active": true,
- "approvalsOnly": true,
- "scopeCard": true,
- "scopeAccount": true,
- "validOnPurchase": true,
- "validOnWithdrawal": true,
- "validOnTransfer": true,
- "validOnCredit": true,
- "currencyCode": "string",
- "amountLimit": 0,
- "numberOfDays": 0,
- "scopeMonthly": true,
- "scopeDaily": true
}{- "id": 0,
- "name": "string",
- "usageLimit": 0,
- "active": true,
- "approvalsOnly": true,
- "scopeCard": true,
- "scopeAccount": true,
- "validOnPurchase": true,
- "validOnWithdrawal": true,
- "validOnTransfer": true,
- "validOnCredit": true,
- "currencyCode": "string",
- "amountLimit": 0,
- "numberOfDays": 0,
- "scopeMonthly": true,
- "scopeDaily": true,
- "cardProducts": [
- {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}
]
}Retrieve a velocity profile by id
| id required | integer The unique ID of the velocity profile |
[- {
- "id": 0,
- "name": "string",
- "usageLimit": 0,
- "active": true,
- "approvalsOnly": true,
- "scopeCard": true,
- "scopeAccount": true,
- "validOnPurchase": true,
- "validOnWithdrawal": true,
- "validOnTransfer": true,
- "validOnCredit": true,
- "currencyCode": "string",
- "amountLimit": 0,
- "numberOfDays": 0,
- "scopeMonthly": true,
- "scopeDaily": true
}
]Update a velocity profile's information
| id required | integer The unique ID of the velocity profile |
| id | integer |
| name | string |
| usageLimit | integer |
| active | boolean |
| approvalsOnly | boolean |
| scopeCard | boolean |
| scopeAccount | boolean |
| validOnPurchase | boolean |
| validOnWithdrawal | boolean |
| validOnTransfer | boolean |
| validOnCredit | boolean |
| currencyCode | string |
| amountLimit | number |
| numberOfDays | integer |
| scopeMonthly | boolean |
| scopeDaily | boolean |
{- "validOnWithdrawal": false
}[- {
- "id": 0,
- "name": "string",
- "usageLimit": 0,
- "active": true,
- "approvalsOnly": true,
- "scopeCard": true,
- "scopeAccount": true,
- "validOnPurchase": true,
- "validOnWithdrawal": true,
- "validOnTransfer": true,
- "validOnCredit": true,
- "currencyCode": "string",
- "amountLimit": 0,
- "numberOfDays": 0,
- "scopeMonthly": true,
- "scopeDaily": true
}
]Retrieve all fees in the system
| cardProducts | string |
| limit | integer |
| offset | integer |
[- {
- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "id": 0,
- "name": "string",
- "type": "string",
- "amount": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "startAmount": 0,
- "endAmount": 0,
- "cardProducts": [
- {
- "id": 0,
- "name": "string",
- "code": "string",
- "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "active": true,
- "atm": true,
- "pos": true,
- "moto": true,
- "ecommerce": true,
- "tips": true,
- "anonymous": true,
- "issuerId": 0,
- "issuedAccountCode": "string",
- "feeAccountCode": "string",
- "lossesAccountCode": "string",
- "externalAccount": "string",
- "bin": "string",
- "smart": true,
- "randomCardNumber": true,
- "scheme": "string",
- "cardType": "string",
- "renewable": true,
- "expAfterMonth": 0,
- "panLength": 0,
- "panStart": "string",
- "panEnd": "string",
- "transactionTypes": [
- "string"
]
}
]
}
]
}
][- {
- "id": 0,
- "name": "string",
- "type": "string",
- "amount": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "startAmount": 0,
- "endAmount": 0
}
]Retrieve a fee by id
| id required | integer The unique ID of the fee |
[- {
- "id": 0,
- "name": "string",
- "type": "string",
- "amount": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "startAmount": 0,
- "endAmount": 0
}
]Update a fee's information
| id required | integer The unique ID of the fee |
| id | integer |
| name | string |
| type | string |
| amount | number |
| startDate | string <date> |
| endDate | string <date> |
| startAmount | number |
| endAmount | number |
{- "validOnWithdrawal": false
}[- {
- "id": 0,
- "name": "string",
- "type": "string",
- "amount": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "startAmount": 0,
- "endAmount": 0
}
]Given a query string, returns items containing it.
| limit | integer The maximum number of items to return (pagination). |
| offset | integer The number of items to skip for pagination. |
| pointer | string <base64> A base64 encoded pointer to the last item shown. When provided, the list will start after this item. Do not use together with 'offset'. |
| entities | string Example: entities=cardholder,card_products Specifies which entities to query. Multiple entities can be provided as a comma-separated list. |
| q | string Example: q=John* OR Smith The search query string. Use '*' as a wildcard. The query syntax supports basic search operations. |
{- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "entity": "string",
- "pointer": "string",
- "info": { }
}
]
}Get all issuer available in the system
| limit | integer The maximum number of items to return (pagination). |
| offset | integer The number of items to skip for pagination. |
{- "total": 1,
- "limit": 10,
- "offset": 0,
- "data": {
- "-id": 67,
- "institutionId": 1,
- "name": "jcard",
- "startDate": 1104519600000,
- "endDate": 2493054000000,
- "active": true,
- "cardHolders": [
- {
- "id": 1561,
- "realId": 881,
- "active": true,
- "startDate": "2010-01-01T00:00:00.000Z",
- "endDate": "2020-12-31T00:00:00.000Z",
- "honorific": "Mrs",
- "gender": "F",
- "firstName": "Alice",
- "middleName": "Mona",
- "lastName": "Gaviola",
- "lastName2": "Taylor",
- "email": "alice@jpos.org",
- "address1": "Sabat Pebet 1234",
- "address2": "Suite 1603",
- "city": "Montevidey",
- "state": "MONTEVIDEO",
- "zip": 11400,
- "country": "UY",
- "notes": "Test customer",
- "phone": 13057043620,
- "issuerId": 67
}, - {
- "id": 1453,
- "realId": 1,
- "active": true,
- "startDate": "2015-09-11T00:00:00.000Z",
- "endDate": "2049-12-31T00:00:00.000Z",
- "state": "MONTEVIDEO",
- "issuerId": 67
}, - {
- "id": 1086,
- "realId": 1,
- "active": true,
- "startDate": "2005-01-01T00:00:00.000Z",
- "endDate": "2049-01-01T00:00:00.000Z",
- "honorific": "Mr.",
- "gender": "M",
- "firstName": "Joe",
- "lastName": "Holder",
- "state": "MONTEVIDEO",
- "issuerId": 67
}, - {
- "id": 1601,
- "realId": 1441994047036,
- "active": true,
- "startDate": "2014-12-25T00:00:00.000Z",
- "endDate": "2016-12-25T00:00:00.000Z",
- "firstName": "Jane Modificada!!!!!!",
- "lastName": "Doe",
- "lastName2": "Foo",
- "email": "jane@janedoe.com",
- "address1": "Jane St. 1234",
- "city": "Janeopolis",
- "state": "MONTEVIDEO",
- "zip": 11222,
- "country": "Kingdom of Jane",
- "birthDate": "1992-12-11T00:00:00.000Z",
- "phone": 87752644,
- "issuerId": 67
}, - {
- "id": 1459,
- "realId": "0000001459",
- "active": false,
- "startDate": "2015-09-11T00:00:00.000Z",
- "endDate": "2049-12-31T00:00:00.000Z",
- "state": "MONTEVIDEO",
- "issuerId": 67
}
], - "cardProducts": [
- {
- "id": 72,
- "name": "Gift Cards",
- "code": "3bec2088-1e1a-4e47-8707-0a06ab360ac5",
- "endDate": "2049-01-01T00:00:00.000Z",
- "startDate": "2005-01-01T00:00:00.000Z",
- "active": true,
- "atm": false,
- "pos": false,
- "moto": false,
- "ecommerce": false,
- "tips": false,
- "anonymous": true,
- "issuerId": 67,
- "issuedAccountCode": "11.001.00",
- "feeAccountCode": "31.001.00",
- "bin": 123453,
- "cardNumberLength": 0,
- "smart": false,
- "randomCardNumber": false,
- "scheme": "Visa",
- "renewable": false,
- "expAfterMonth": 12,
- "panLength": 14,
- "transactionTypes": null
}, - {
- "id": 68,
- "name": "jCard",
- "code": "d1d2fccc-181e-4cc8-8f27-d32d8f00b000",
- "endDate": "2049-01-01T00:00:00.000Z",
- "startDate": "2005-01-01T00:00:00.000Z",
- "active": true,
- "atm": false,
- "pos": false,
- "moto": false,
- "ecommerce": false,
- "tips": false,
- "anonymous": false,
- "issuerId": 67,
- "issuedAccountCode": "11.001.00",
- "feeAccountCode": "31.001.00",
- "bin": 123450,
- "cardNumberLength": 0,
- "smart": false,
- "randomCardNumber": false,
- "scheme": "Visa",
- "renewable": false,
- "expAfterMonth": 12,
- "panLength": 14,
- "transactionTypes": null
}, - {
- "id": 73,
- "name": "mobileWallet",
- "code": "86b6cc16-a78b-4d97-bbdd-fcb104c18b65",
- "endDate": "2049-01-01T00:00:00.000Z",
- "startDate": "2005-01-01T00:00:00.000Z",
- "active": true,
- "atm": false,
- "pos": false,
- "moto": false,
- "ecommerce": false,
- "tips": false,
- "anonymous": false,
- "issuerId": 67,
- "issuedAccountCode": "11.001.00",
- "feeAccountCode": "31.001.00",
- "bin": 123452,
- "cardNumberLength": 0,
- "smart": false,
- "randomCardNumber": false,
- "scheme": "Visa",
- "renewable": false,
- "expAfterMonth": 12,
- "panLength": 14,
- "transactionTypes": null
}, - {
- "id": 71,
- "name": "jCard Gold",
- "code": "e0877304-8606-4d23-aa13-960e9c96ec01",
- "endDate": "2049-01-01T00:00:00.000Z",
- "startDate": "2005-01-01T00:00:00.000Z",
- "active": true,
- "atm": false,
- "pos": false,
- "moto": false,
- "ecommerce": false,
- "tips": false,
- "anonymous": false,
- "issuerId": 67,
- "issuedAccountCode": "11.001.00",
- "feeAccountCode": "31.001.00",
- "bin": 123451,
- "cardNumberLength": 0,
- "smart": false,
- "randomCardNumber": false,
- "scheme": "Visa",
- "renewable": false,
- "expAfterMonth": 12,
- "panLength": 14,
- "transactionTypes": null
}
], - "acquirers": [
- {
- "id": 74,
- "institutionId": 1,
- "name": "Test Acquirer",
- "active": true
}
]
}
}Retrieve all revision history in the system
| author | string comma separated string of user ids |
| ref | string comma separated string of entity_name.id |
| limit | integer |
| offset | integer |
[- {
- "total": 0,
- "limit": 0,
- "offset": 0,
- "hasNext": true,
- "data": [
- {
- "id": 0,
- "date": "2019-08-24T14:15:22Z",
- "info": "string",
- "ref": "string",
- "author": 0
}
]
}
]