📄
API Documentation
  • Introduction
    • Authorization
    • Webhooks
    • Statuses
  • API Methods
    • Create payment
    • Create payout
    • Check status
    • Get balance
Powered by GitBook
On this page
  1. Introduction

Authorization

To create request to our api you must set credentials header, that should be base64 encoded representation of apiKey:apiSecret. ApiKey and apiSecret you will get from our team.

For example you have next credentials:

{
    "apiKey": "HABPYZI-WB3EY7I-QUHCE4I-TGX6E4Q",
    "apiSecret": "e704e7c4a06e86ec6314f8a9be795ac9"
}

Node.js example:

Buffer.from("HABPYZI-WB3EY7I-QUHCE4I-TGX6E4Q:e704e7c4a06e86ec6314f8a9be795ac9").toString("base64");
// SEFCUFlaSS1XQjNFWTdJLVFVSENFNEktVEdYNkU0UTplNzA0ZTdjNGEwNmU4NmVjNjMxNGY4YTliZTc5NWFjOQ==

<HOST_URL>

Production (live): https://api.cashbulls.io

Sandbox (testing): https://sandbox.cashbulls.io

Last updated 6 months ago