Questions? Feedback? powered by Olark live chat software

API Guide :: Listing your transactions

Listing your transactions

It is possible to list all of the transactions that you are involved in. Simply call the /2017-09-01/transaction endpoint. This will return a list of 10 transactions. In order to retrieve more, you must call the API multiple times and increment the page parameter.

1
2
3
curl "https://api.escrow.com/2017-09-01/transaction" \
    -X GET \
    -u "email-address:your-api-key"

Example Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

    "page": 1,
    "page_count": 1,
    "per_page": 10,
    "transactions": [{
        "id": 3300003,
        "parties": [
            {
                "customer": "michael.nyqvist@test.escrow.com",
                "agreed": true,
                "role": "buyer"
            },
            {
                "customer": "keanu.reaves@test.escrow.com",
                "agreed": false,
                "role": "seller"
            }
        ],
        "currency": "usd",
        "description": "The sale of johnwick.com",
        "items": [
            {
                "status": {
                    "received": false,
                    "rejected_returned": false,
                    "rejected": false,
                    "received_returned": false,
                    "shipped": false,
                    "accepted": false,
                    "shipped_returned": false,
                    "accepted_returned": false
                },
                "extra_attributes": {
                    "concierge": false,
                    "with_content": false
                },
                "description": "johnwick.com",
                "schedule": [
                    {
                        "payer_customer": "michael.nyqvist@test.escrow.com",
                        "status": {
                            "secured": false
                        },
                        "amount": "1000.00",
                        "beneficiary_customer": "keanu.reaves@test.escrow.com"
                    }
                ],
                "title": "johnwick.com",
                "fees": [
                    {
                        "payer_customer": "michael.nyqvist@test.escrow.com",
                        "amount": "32.50",
                        "type": "escrow"
                    }
                ],
                "type": "domain_name",
                "id": 3870000,
                "inspection_period": 259200,
                "quantity": 1
            }
        ]
    }]
}