Islamic Payment Gateway
  1. Account
Islamic Payment Gateway
  • Passive Client API
    • Inquiry
      POST
    • Payment
      POST
    • Reversal
      POST
    • Check Status
      POST
  • Active Client API
    • Bill
      • Create New Bill
      • Get Bill List
      • Get Bill Information
      • Revoke Bill
      • Get Bill Payments
      • Fake/Mock Payment & Reversal
    • Payment
      • Get Payment List
    • Account
      • Get Account Mutations
        GET
    • Institution
      • Institution Account List
      • Institution List
      • Institution Detail
    • Webhook
      • Webhook Call
  • Payment Channel API
    • Inquiry
      POST
    • Payment
      POST
    • Reversal
      POST
  • Authentication
    • OAuth 2.0
      POST
    • Signature
      VIEW
  1. Account

Get Account Mutations

GET
/api/v2/gw/account/{account-hash}/mutation
Account
List of account's mutations

Request

Path Params
account-hash
string 
required
Query Params
mutation_type
string 
optional
Mutation Type
page
number 
optional
Page number of the data you want to display
date.0
string 
optional
Start of date range
date.1
string 
optional
End of date range
Header Params
Accept
string 
required
Accept application/json
Authorization
string 
required
Bearer token
Signature
string 
required
request body or query string hash value using HMAC method. algorithm=sha256, key = API_KEY

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v2/gw/account//mutation?mutation_type=&page=&date.0=&date.1=' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Signature;'

Responses

🟢200OK
application/json
Body
rc
string 
optional
Default:
SUCCESS
message
string 
optional
Default:
success
timestamp
string 
optional
Example:
2022-04-05T04:46:42+07:00
current_page
number 
optional
Default:
1
Example:
1
data
array [object {7}] 
required
>= 1 items
id
string 
optional
mutation_type
enum<string> 
optional
Allowed values:
inout
Example:
in
balance_before
number 
optional
amount
number 
optional
balance_after
number 
optional
signature
string 
optional
created_at
string 
optional
Time mutation created
Example:
2022-04-05T04:46:41.792976Z
from
number 
optional
Default:
1
Example:
1
last_page
number 
optional
Default:
1
Example:
1
per_page
number 
optional
Default:
15
Example:
15
to
number 
optional
Default:
1
Example:
1
total
number 
optional
Default:
1
Example:
1
Example
{
    "rc": "SUCCESS",
    "message": "success",
    "timestamp": "2022-04-05T04:46:42+07:00",
    "current_page": 1,
    "data": [
        {
            "id": "string",
            "mutation_type": "out",
            "balance_before": 100000,
            "amount": 50000,
            "balance_after": 50000,
            "signature": "string",
            "created_at": "2022-04-05T05:46:41+07:00"
        },
        {
            "id": "string",
            "mutation_type": "in",
            "balance_before": 0,
            "amount": 100000,
            "balance_after": 100000,
            "signature": "string",
            "created_at": "2022-04-05T04:46:41+07:00"
        }
    ],
    "from": 1,
    "last_page": 1,
    "per_page": 15,
    "to": 1,
    "total": 2
}
Previous
Get Payment List
Next
Institution Account List
Built with