🚀Quick Start

Your API requests can be authenticated using API key. Any request to a secured link that doesn't include an API key in the header will return unsuccessful.

You can generate an API key from your Dashboard, select the link you want, once taken to the overview page of that link, select API/SDK and generate key, This would generate the key and secure the link API for requests.

You will not be able to view this key again once you close this window, so be sure to record it, Clicking the generate button would generate a new key invalidating older keys.

Make your first request

To make your first request, send an authenticated request to the pay/{linkname}. This will bring back a link to be used for payment based on link data or provided data

Good to know: link API key should be specified under API_KEY header

Initializes a new payment.

POST https://ab.cryptea.me/pay/{linkName}

Parameters in body is most likely predefined by link data specified during link creation

Headers

NameTypeDescription

API_KEY

string

key required for secured link api

Request Body

NameTypeDescription

callback_url

string

Url to redirect to after payment

amount

number

Amount in (USD) to be paid in crypto

data

json

data to be embedded in payment data

{
   "error": false,
   "message": "successful",
   "url": "generated link"
}

Last updated