Developer Documentation

Integrate ABC-IO services into your application.

Authentication

All API requests require your API key. Include it in the request header:

Authorization: Bearer YOUR_API_KEY

Legacy header also supported: X-M2M-Key: YOUR_API_KEY

Quick Start

import requests

# Register as a buyer
resp = requests.post('https://abc-io.net/api/m2m/register', json={
    'name': 'Your Name',
    'email': 'your@email.com'
})
buyer_id = resp.json()['buyer_id']

# Fund your wallet
resp = requests.post('https://abc-io.net/api/m2m/deposit', json={
    'buyer_id': buyer_id,
    'amount': 100
})
checkout_url = resp.json()['url']
# Open checkout_url in browser to complete payment

# Make a purchase
resp = requests.post('https://abc-io.net/api/m2m/purchase', json={
    'buyer_id': buyer_id,
    'product_key': 'api_basic',
    'amount': 29.99
})
print(resp.json())

API Reference

See full API documentation for all endpoints.

SDKs