Zaprite

Developers

Powerful API and Webhooks

Integrate custom bitcoin, lightning and card payment flows into any website or application.

API Benefits

Why use our API?

A powerful and flexible single API for all bitcoin, lightning and card payment solutions.

One API for all payment types
Redundancy of payment providers
Flexibility of payment flows
Webhooks for notifications
Sandbox for testing
TypeScript SDK for easier integration
  • One API
  • Redundancy
  • Flexibility
  • Webhooks
  • Sandbox
  • TypeSrcipt SDK

API Examples

End-to-end bitcoin and fiat payments flow

Our API offers an end-to-end payments flow, from Order creation and Checkout generation to Webhooks and Transactions querying.

Add, edit and query your Contacts to assign them to Orders or Invoices.

create-contact.ts
// Create a Contact (legalName and email are required)const res = await fetch('https://api.zaprite.com/v1/contacts', {  method: 'POST',  headers: {    'Content-Type': 'application/json',    Authorization: 'Bearer YOUR_ZAPRITE_API_KEY'  },  body: JSON.stringify({    legalName: 'Satoshi Nakamoto',    email: 'satoshi@example.com',    displayName: 'Satoshi',    defaultCurrency: 'USD',    billingAddress: {      line1: '1 Main Street',      city: 'Austin',      state: 'TX',      zipCode: '78701',      countryCode: 'US'    }  })})const contact = await res.json()console.log(contact.id)

Discover

Get started with our API

Build your custom bitcoin, lightning and fiat payment flows with our REST API or official TypeScript SDK.

API Newsletter

Subscribe to our API updates

Receive email notifications when we add new features or make changes to our API or SDK.

Ready to get started?

Start your Free Trial today or reach out to our Sales team with any questions.