logo

Tatacoa Bitcoin API

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

MethodRoute
POST/invoices

Payload


  {
    "amount": 5,
    "currency": "USD",
    "description": "tatacoa bitcoin invoice",
    "fee": "0.025",
    "webhook": "https://webhook.com"
  }
        

List

MethodRoute
GET/invoices

Details

MethodRoute
GET/invoices/:invoiceId

Payments

Creation

MethodRoute
POST/payments

Payload


  {
    "invoice": "lnbc1150n1p3qhh...3pf2gpe3g2usn0qcz49gq6nqwxw"
  }
        

List

MethodRoute
GET/payments

Details

MethodRoute
GET/payments/:paymentId

Gifts

Creation

MethodRoute
POST/gifts

Payload


  {
    "amount": 10,
    "currency": "USD",
    "description": "tatacoa bitcoin gift",
    "fee": "0.025",
  }
        

List

MethodRoute
GET/gifts

Details

MethodRoute
GET/gits/:giftId