Payment Integration Guide
Follow this guide to integrate GLOCASHIER payments into your application.
Prerequisites
- GLOCASHIER merchant account
- API keys
- Basic understanding of REST APIs
Integration Steps
- Install the SDK
- Configure API keys
- Create payment form
- Handle responses
- Implement webhooks
Code Examples
JavaScript
const glocashier = require('glocashier-sdk');
glocashier.configure({
apiKey: 'your_api_key'
});
const payment = await glocashier.createPayment({
amount: 1000,
currency: 'USD',
description: 'Test payment'
});