Get transactions by userid

This endpoint retrieves the list of escrow transactions for a specific user.

get transactions

POST v2/escrow/transaction/list/:user_id

Params

NameTypeDescription

user_id

String

The ID of the user.

Headers

NameTypeDescription

Accept*

string

application/json

V-PRIVATE-KEY*

string

your vesicash private key

V-PUBLIC-KEY*

String

your vesicash public key

Response

The response will be in JSON format and will have the following schema:

{
    "status": "",
    "code": 0,
    "message": "",
    "data": {
        "amount": 0,
        "amount_left": 0,
        "amount_paid": 0,
        "business_id": 0,
        "country": "",
        "created_at": "",
        "currency": "",
        "dashboard": "",
        "description": "",
        "disbursement_charge": 0,
        "dispute_handler": "",
        "escrow_charge": 0,
        "files": [
            {
                "type": "",
                "url": ""
            }
        ],
        "id": 0,
        "milestones": [
            {
                "amount": 0,
                "created_at": "",
                "currency": "",
                "delivered_at": 0,
                "description": "",
                "disbursed_to_parties": null,
                "disbursement_retry_at": 0,
                "due_date": "",
                "grace_period": 0,
                "id": 0,
                "inspection_period": 0,
                "milestone_id": "",
                "status": "",
                "title": "",
                "transaction_id": "",
                "updated_at": ""
            }
        ],
        "parties": [
            {
                "bank_account": {
                    "account_name": "",
                    "account_number": "",
                    "bank_code": "",
                    "bank_name": ""
                },
                "created_at": "",
                "email": "",
                "first_name": "",
                "has_accepted": true,
                "id": 0,
                "is_initiator": true,
                "last_name": "",
                "percentage": 0,
                "phone": "",
                "role": "",
                "role_description": "",
                "transaction_id": "",
                "transaction_party_id": "",
                "updated_at": "",
                "user_id": ""
            }
        ],
        "payment_status": "",
        "status": "",
        "title": "",
        "transaction_id": "",
        "type": "",
        "updated_at": ""
    },
    "pagination": [
        {
            "current_page": 1,
            "page_count": 2,
            "total_pages_count": 1
        }
    ]
}

Last updated