Account management

There are several actions you can take while managing accounts. This is done through web service calls to the platform. Below are the actions categorised under CRUD.

🗒️

Note these endpoints are POST API actions

CREATE account

The account is created first through the Create account endpoint.

READ account

You can read the following attributes in an account:

Contrasting the post_block and post_pend response fields of the Get statement endpoint:

post_blockpost_pend
this shows the total blocked amount that has not been settled.this shows a pending amount that applies to specific cases such as refunds and credit transactions, where the amount is not made available immediately during authorization.
Example: if the previous blocked amount is -$100 and a transaction of -$50 is received and approved, then the post_block amount will be -$150.Example: if the previous pending amount is $100 and a refund transaction of $50 is received and approved, then the post_pend amount will be $150, which will be made available only after clearing.Note: is this feature is disabled, then post_block will be used instead.

UPDATE account

Once created, you may want to update some attributes of the account. The following is possible:

Contrasting theLoad balance and Update account balance endpoints:

Load balance

Update account balance

Sample request body with required key-value pairs:

{  
    "api_call_unique_identifier": "001",  
    "client_id": 12345,  
    "input_type": "t",  
    "input_id": 12345,  
    "amount": 200,  
    "amt_ccy": "404",  
    "act_blk_pnd": "a",  
    "cr_dr": "c"  
}

Sample request body with required key-value pairs:\

{  
    "client_id": 123,  
    "api_call_unique_identifier": "001",  
    "balance_list": [  
        {  
            "input_type": "t",  
            "input_id": 12345,  
            "act_balance": 200,  
            "blk_balance": 50,  
            "bill_ccy": "404"  
        },  
        {  
            "input_type": "t",  
            "input_id": 12346,  
            "act_balance": 200,  
            "blk_balance": 50,  
            "bill_ccy": "404"  
        }  
    ]  
}
  • *amount:** specifies the credit/debit transaction amount performed on the account.
  • *api_call_unique_identifier: **unique number that must be passed at each API request. Identifier to make each API request unique
  • *client_id:** unique identifier for the client which Paymentology will provide at the outset
  • *cr_dr:** specifies if the transaction is credit (c) or or debit (d)
  • *input_type: **a -> account, t -> token.
  • *input_id:public token/account number. Pass public token when the input type ist; pass account number when the input type isa**.
  • *act*balance** and *blk_balance** in the _balance_list parameter (type: array of objects) specify what the final balance on the specified account will be
  • *act_balance:** actual balance, must be a decimal number
  • *blk_balance**: blocked balance, must be a decimal number
  • *bill_ccy**: Balance Currency (Three digit ISO-4217 standard currency code . i.e. : 048 → BHD, 060 → BMD, 036 → AUD).