⚡Payments API

Prerequisites
Before using the Payments API, make sure you have the following:
A PayRam server that is properly hosted and running.
A valid API Key generated from the PayRam dashboard for authentication.
Finding your BASE_URL
Every endpoint below is called as {BASE_URL}/api/v1/.... Your BASE_URL is the address your PayRam instance is reachable at — the same one you open the dashboard with.
Depending on how you installed PayRam, it will look like one of these:
Domain with SSL
https://pay.example.com
Server IP, no SSL
http://192.168.0.1
Installed on a different port
http://192.168.0.1:3000
API Endpoints
These are the current endpoints required for the Payments API integration, listed below.

Create Payment
Create a payment link for customers using the PayRam API.
Fetch Tickers
Fetch supported tickers and token options using the PayRam API.

Get Blockchain Currencies
Fetch blockchain deposit options using a payment’s reference ID.

Assign Deposit Address
Assign a static deposit address to a user for a specific blockchain.

Payment Status
Fetch the current payment status using a payment’s reference ID.

Webhook
Receive payment updates on your server instead of polling.
Last updated