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

  1. Install the SDK
  2. Configure API keys
  3. Create payment form
  4. Handle responses
  5. 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'
});