Vesicash API Documentation V2
  • Overview
  • API DOCUMENTATION
    • API Basics
    • Authentication
    • Errors
    • Escrow Transactions
      • Create a transaction
      • Get transaction by transaction_id
      • Get transaction charges
      • Get bank lists
      • Get transactions by userid
      • Get all transactions
      • Pay for transaction
      • Send transaction invite
      • Accept transaction
      • Reject transaction
      • Mark milestone as done
      • Accept milestone delivery
      • Reject milestone delivery
      • Request due date extension
      • Approve due date extension
      • Edit transaction
      • Edit milestone
      • Edit party
      • Delete transaction
      • Webhook Notification
    • Merchant Of Record
      • Initiate MoR checkout
      • Get MoR transactions
Powered by GitBook
On this page
  • get transactions
  • Response
  1. API DOCUMENTATION
  2. Escrow Transactions

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

Name
Type
Description

user_id

String

The ID of the user.

Headers

Name
Type
Description

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
        }
    ]
}
PreviousGet bank listsNextGet all transactions

Last updated 9 months ago