Vesicash API V1
Search…
Create a milestone transaction
Milestone transactions are necessary for buying and selling of services where the seller get the money after completion of specified milestones.
Specify multiple milestones and set type attribute to 'milestone'.
post
https://api.vesicash.com/v1
/transactions/create
create a milestone transaction
As an example, you can a make a post request to the endpoint above and pass in the raw json data below to create a milestone transaction.
1
{
2
"title" : "Build an ecommerce app",
3
"type" : "milestone",
4
"description": "A new app",
5
"parties": {
6
"buyer" : 5841206525,
7
"seller": 9432695230,
8
"charge_bearer": 5841206525,
9
"sender":9432695230,
10
"recipient":5841206525
11
},
12
"milestones": [{
13
"title": "Build contact form",
14
"description": "Desc",
15
"amount": 250000,
16
"quantity": 1,
17
"inspection_period": 1,
18
"due_date": "12/12/2020"
19
},{
20
"title": "Build mobile app",
21
"description": "Desc",
22
"amount": 1000000,
23
"quantity": 1,
24
"inspection_period": 2,
25
"due_date": "12/24/2020"
26
}],
27
"inspection_period": 1,
28
"due_date": "2/12/2020",
29
"currency": "NGN"
30
}
Copied!