Skip to content

Instantly share code, notes, and snippets.

@SeptiyanAndika
Last active January 26, 2020 09:11
Show Gist options
  • Save SeptiyanAndika/0c2ed5955a7001f0d3a1a11fec12fee7 to your computer and use it in GitHub Desktop.
Save SeptiyanAndika/0c2ed5955a7001f0d3a1a11fec12fee7 to your computer and use it in GitHub Desktop.
### POST /api/address [CREATE ADDRESS]
==== REQUEST ====
{
referenceId: xxxx,
coing:"BTC"
}
==== RESPONSE ====
{
referenceId: xxxx,
address: xxxxx,
coing:"BTC"
}
### GET /api/address?referenceId=xxxx [LIST ADDRESS BY REFERENCE]
==== RESPONSE ====
{
referenceId: xxxx,
coins:[
{
address: xxxxx,
coing:"BTC"
},
{
address: xxxxx,
coing:"ETH"
}
]
}
### WEBHOOK (POST) / MESSAGING [SEND DATA TO MAIN APP]
{
referenceId:xxxx,
amount:xxx,
coin: BTC,
confirmation: xxx
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment