πββοΈ Quick Start Guide
Log into your One-CP dashboard
Navigate to API Settings
Generate or retrieve your:
Widget ID (your username)
Backend Secret (your password)
Save these credentials securely
curl -X GET "https://api.1-cp.io/status" \
-H "Authorization: Basic $(echo -n 'widget_id:backend_secret' | base64)"Expected response:
{
"status": "ready",
"provider": "your_provider_id"
}curl -X POST "https://api.1-cp.io/initialize" \
-H "Authorization: Basic $(echo -n 'widget_id:backend_secret' | base64)" \
-H "Content-Type: application/json" \
-d @transaction.jsonSee the transaction examples below for sample payloads.
Last updated