Integration with Powerful and Flexible API
Quickly build your payment infrastructure with our RESTful API architecture. Get started with comprehensive documentation and code examples.
Quick Start
Complete API integration in 4 steps
Get API Key
Register on the developer portal and create your API key.
Install SDK
Add the SDK in your preferred programming language.
First Request
Make your first API call in the test environment.
Go Live
Complete tests and get your production API key.
Core API Endpoints
Discover the most frequently used API calls
Payments API
Create, query and cancel payments
/v1/paymentsCustomers API
Manage customer information
/v1/customersTransactions API
Transaction history and reporting
/v1/transactionsRefunds API
Manage refund operations
/v1/refundsWebhooks API
Real-time notifications
/v1/webhooksSubscriptions API
Subscription and recurring payments
/v1/subscriptionsExample API Request
JavaScript example for payment creation endpoint:
RESTful Design
Modern, predictable API endpoints
JSON Format
All requests and responses in JSON format
Webhook Support
Real-time event notifications
// Initialize PAYMORE SDK
import { Paymore } from '@paymore/sdk';
const paymore = new Paymore({
apiKey: 'sk_live_your_api_key',
environment: 'production'
});
// Create a payment
const payment = await paymore.payments.create({
amount: 10000, // 100.00 TRY
currency: 'TRY',
description: 'Order #12345',
customer: {
email: '[email protected]',
phone: '+905xxxxxxxxx'
},
metadata: {
orderId: '12345'
}
});
console.log(payment.id, payment.status);API Authentication
PAYMORE API supports API Key and OAuth 2.0 for secure access.
API Key Method
Send API key with Authorization header for simple integrations.
Authorization: Bearer sk_live_...OAuth 2.0
Use OAuth 2.0 for applications requiring user authorization.
Authorization: Bearer access_tokenAPI Features
RESTful Design
Modern, predictable API endpoints
JSON Format
All requests and responses in JSON format
Webhook Support
Real-time event notifications
Rate Limiting
Rate limits for fair usage and security
Versioning
Backward compatibility guarantee
Detailed Errors
Clear error messages and codes