CashtoCode
Quick Start
- Sign up at cashtocode.com and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
CashtoCode — Vouchers (cash via terminals)
| Provider ID | cashtocode |
| Category | Local Payment Methods |
| Website | cashtocode.com |
Supported operations: Create PayToken (payments_authorize)
Authentication
Method: Basic Auth (username:password)
Header format:
Authorization: Basic {base64(username:password)}
Two sets credentials:
- Classic Reward:
classic_username:classic_password - eVoucher:
evoucher_username:evoucher_password
Selection credentials depends from voucher type in request.
Configuration
Required Parameters
| Parameter | Description |
|---|---|
base_url | Base API URL |
**Classic mode:** | |
classic_username | Username for Classic |
classic_password | Password for Classic |
classic_mid | Merchant ID for Classic |
**eVoucher mode:** | |
evoucher_username | Username for eVoucher |
evoucher_password | Password for eVoucher |
evoucher_mid | Merchant ID for eVoucher |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /merchant/paytokens |