Skip to content

Get Account Transactions

| View as Markdown

This API will return all the transactions done in partner’s account by the merchant. We will pass date range to get the payout details and no of rows in response then we will get payment details like amount, balance, and description.

http://kraken.airpay.co.in:8000/payout/partner/transactions
FieldTypeDescription
Content-TypeStringapplication/json
AuthorizationStringBearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
{
"Accept": "application/json",
"Authorization": "Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
FieldTypeRequiredDescription
from_dateDateNoTransaction created from date in Y-m-d format
to_dateDateNoTransaction created to date in Y-m-d format
offsetNumericNoRow number from which records should start retrieving
limitNumericNoNumber of rows in the response (maximum 100)
GET 'partner/transactions?offset=0&limit=25&from_date=2022-01-01&to_date=2022-01-31'
FieldTypeDescription
statusAlphanumericsuccess / error
messageAlphanumericResponse description
errorsArrayError messages if response status is ‘error’
dataArrayResponse data
data[created_datetime]DateTimeTransaction date and time (Y-m-d H:i:s)
data[entry_side]Alphanumericdebit / credit
data[balance]NumericBalance in account
data[description]AlphanumericTransaction description
data[approved_transfers_count]NumericNumber of transfers approved by Airpay
data[processing_transfers_count]NumericNumber of transfers in process
data[success_transfers_count]NumericNumber of successful transfers
data[failure_transfers_count]NumericNumber of failed transfers
data[rejected_transfers_count]NumericNumber transfers rejected by Airpay
{
"status": "success",
"message": "Transactions",
"data": "qwC4u7ELk0nFjkvoZ5I8WibsCANCWNmt+ZGFiJGC7s20qRZQA88cP0NB4Btf3eh1msFGa4JFyoWKFGoTgH+d7IQM6SqmtbvfwJA8OuYrxtni2mSfIwGtklACikX3tF5VxGaZUkd+ZDoyASsp5dbRWtaaov7mRpG7kRv3FgbIpRFfHq0/klVAXfMrOCGuuI+KRfmoVSAV60Qo0dYj5kCPHvkurUmDCuJeNvQTlJUHMiGuIWIRGWwMudrDBr+MnM2AKJS7fmE/JXVTbuY0EP1bvV1ZuKi55IZYqi4PefREcEy87qq7oAEz/ggVrmKVoFz057yNzhA5J7oZoLCo6ciYxx4pST5l963PH5MS0itpIZcIe+i49I4DowEsPFTUpDpI1hMX4yAzUsQ+tRN+KxjnSw=="
}
{
"status": "success",
"message": "Transactions",
"data": [
{
"created_datetime": "2022-02-09 08:46:50",
"entry_side": "debit",
"type": "payout",
"amount": 5,
"balance": 4595,
"description": "Transfer fee/2022JAN/18"
},
{
"created_datetime": "2022-02-09 08:46:21",
"entry_side": "debit",
"type": "payout",
"amount": 400,
"balance": 4600,
"description": "Transfer/2022JAN/18"
}
]
}