Connected Account Transactions

Getting one connected account transactions

Getting a transaction for one connected account

GET https://api2.ourpass.co/v1/business/subaccounts/478?getWallet=true

Path Parameters

Name
Type
Description

subAccountId*

String

This is the unique ID of the connected account to be gotten.

Query Parameters

Name
Type
Description

page

String

The is the number of pages you want to be able to see

limit

String

This is the number of transactions you want to see per page

Headers

Name
Type
Description

apiKey*

String

Pass your api key in the request header to authorise the call

{
    "message": "Transactions retrieved successfully",
    "data": {
        "balance": 418043023,
        "currency": "NGN",
        "inflowAmount": 233200,
        "transactions": [
            {
                "id": 8849,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "0ca2e643-cbc3-44b2-8359-ab0c6a2eb390",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Fri Mar 25 2022 07:13:31 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31989847,
                "balanceAfter": 31989847,
                "subAccountId": 375
            },
            {
                "id": 8846,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "a9606956-2f59-4984-a803-8fa535dff2a0",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Fri Mar 25 2022 07:01:40 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31989847,
                "balanceAfter": 31989847,
                "subAccountId": 375
            },
            {
                "id": 8834,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "46ca86a5-50ab-43dd-b5d7-b1ff125e3846",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Fri Mar 25 2022 06:27:06 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31989757,
                "balanceAfter": 31989757,
                "subAccountId": 375
            },
            {
                "id": 8831,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "0e744646-d104-4a4b-981b-a4de639aef68",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Fri Mar 25 2022 06:26:40 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31989757,
                "balanceAfter": 31989757,
                "subAccountId": 375
            },
            {
                "id": 8816,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "125795a7-b5bf-47ad-bc31-b874aebfb151",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Thu Mar 24 2022 13:33:42 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31810257,
                "balanceAfter": 31810257,
                "subAccountId": 375
            },
            {
                "id": 8813,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "20fd31ba-33bb-4eda-981c-87adbb7552e9",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Thu Mar 24 2022 13:33:06 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31810257,
                "balanceAfter": 31810257,
                "subAccountId": 375
            },
            {
                "id": 8810,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "a42793c5-d35c-40c6-a117-00a240076eb2",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Thu Mar 24 2022 13:32:48 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31810257,
                "balanceAfter": 31810257,
                "subAccountId": 375
            },
            {
                "id": 8807,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "b3cfc41b-108b-43f2-9abe-a12d2fa26df2",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Thu Mar 24 2022 13:31:34 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31810257,
                "balanceAfter": 31810257,
                "subAccountId": 375
            },
            {
                "id": 8803,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "a34cd8fe-3eed-49e9-bd12-8a07415901cc",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Thu Mar 24 2022 11:34:15 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31810257,
                "balanceAfter": 31810257,
                "subAccountId": 375
            },
            {
                "id": 8801,
                "amount": 21200,
                "purpose": "product_sale",
                "reference": "5e8fd729-6e23-4fd8-891e-fbff1db3387d",
                "description": "Hello and  x 1",
                "metadata": "{\"payment_method\":\"wallet\",\"source\":\"https://kissanime.com.ru\",\"credited_into\":\"ledger\"}",
                "createdAt": "Thu Mar 24 2022 11:30:34 GMT+0000 (Coordinated Universal Time)",
                "type": "credit",
                "walletId": 212,
                "balanceBefore": 31810257,
                "balanceAfter": 31810257,
                "subAccountId": 375
            }
        ],
        "totalCount": 11,
        "connectedFees": 0
    }
}

Getting all connected account transactions

Getting all transaction for connected accounts

GET https://api2.ourpass.co/v1/business/subaccounts/transactions

Last updated

Was this helpful?