This page provides comprehensive API reference documentation for all available endpoints in the Two-Coin payment system.

Base URL

https://api.dev2coin.space/v1

Endpoints

The API is organized around REST principles. All requests and responses use JSON format.

Payment Methods

GEThttps://api.dev2coin.space/payment-methods

Get available payment methods for a specific country.

Query Parameters:

  • country_code - ISO 3166-1 alpha-2 country code

See detailed documentation →

Offers

GEThttps://api.dev2coin.space/offers

Get available offers from multiple providers.

Query Parameters:

  • source_currency - Currency code for source amount
  • source_amount - Amount in source currency
  • target_currency - Cryptocurrency code to purchase

See detailed documentation →

Orders

POSThttps://api.dev2coin.space/orders
GEThttps://api.dev2coin.space/orders/{orderId}

Get details of a specific order.

See detailed documentation →

Webhook Endpoints

Detailed information about webhook payloads and event types can be found in the Webhooks section.

Support

If you encounter any issues or have questions not addressed in this documentation, please contact our support team on Telegram at https://t.me/cs_2coin (@cs_2coin).