Autenticación
Todas la peticiones al API de Tatacoa Bitcoin deben autenticarse. Para esto se deben enviar las credenciales recibidas usando los headers apiid y apikey.
Invoices
Creación
Payload
{
"amount": 250,
"currency": "COP",
"description": "tatacoa bitcoin invoice",
"fee": "0.025",
"webhook": "https://webhook.com"
}
Lista
Detalles
Método | Ruta |
---|
GET | /invoices/:invoiceId |
Payments
Creación
Payload
{
"invoice": "lnbc1150n1p3qhh...3pf2gpe3g2usn0qcz49gq6nqwxw"
}
Lista
Detalles
Método | Ruta |
---|
GET | /payments/:paymentId |
Gifts
Creación
Payload
{
"amount": 100,
"currency": "COP",
"description": "tatacoa bitcoin gift"
"fee": "0.025",
}
Lista
Detalles
Método | Ruta |
---|
GET | /gits/:giftId |