Authentication
Every request to the Tatacoa Bitcoin API must be authenticated. For this reason, provided credentials must be included using the headers apiid and apikey.
Invoices
Creation
Payload
{
"amount": 5,
"currency": "USD",
"description": "tatacoa bitcoin invoice",
"fee": "0.025",
"webhook": "https://webhook.com"
}
List
Details
Method | Route |
---|
GET | /invoices/:invoiceId |
Payments
Creation
Payload
{
"invoice": "lnbc1150n1p3qhh...3pf2gpe3g2usn0qcz49gq6nqwxw"
}
List
Details
Method | Route |
---|
GET | /payments/:paymentId |
Gifts
Creation
Payload
{
"amount": 10,
"currency": "USD",
"description": "tatacoa bitcoin gift",
"fee": "0.025",
}
List
Details
Method | Route |
---|
GET | /gits/:giftId |