Skip to main content
Use the payments API to receive funds, check balances, convert currencies and send payments. Choose an endpoint from the sidebar to see the fields it accepts and the responses your application should handle.

Environment and authentication

Choose your API URL: Send requests from your server using an API key for that environment. The authentication examples show how to calculate the signature and timestamp for each request. Some endpoints also accept a bearer token, as shown in their authorization section. Use one authentication method per request.

Read an endpoint

Amounts are usually decimal strings, such as "1250.00". Use decimal arithmetic for financial calculations. Keep IDs and pagination cursors exactly as returned.
  1. Read GET /v1/currencies to find supported currencies and networks.
  2. Set up funding and check your balances.
  3. Save a recipient, or confirm the ID of the Ledig business you want to pay.
  4. Check the available payment methods, fees and limits.
  5. Create a quote, review its rate and fees, then confirm it with a transfer.
  6. Track the transfer and read your transaction history.
If you manage other businesses, start with Managed businesses for onboarding and selecting the business you are acting for.

Handling responses

Use the error guide to handle failures and the retry guide to recover from a lost response. Read Webhooks for event notifications. For help with an integration, contact support@ledig.io.