Skip to main content

Pay4Fun

Quick Start
  1. Sign up at pay4fun.com and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to Pay4Fun →

Overview

Pay4Fun payment integration

Provider IDpay4fun
CategoryLocal Payment Methods
Websitepay4fun.com

Authentication

  • Method: Bearer token
  • Base URL: https://api.pay4fun.com/v1

Configuration

Required Parameters

ParameterDescription
merchant_idMerchant ID
merchant_keyMerchant Key
merchant_secretMerchant Secret

Example Configuration

{
"provider": "pay4fun",
"provider_params": {
"merchant_id": "your_merchant_id_here",
"merchant_key": "your_merchant_key_here",
"merchant_secret": "your_merchant_secret_here"
}
}

Status Mapping

Provider Status4pay StatusDescription
paidcharged
pendingcharging
refundedrefunded
failedrejected

API Reference

MethodEndpointDescription
POST/payment
GET/payment/#{URI.encode(payment_id)}
POST/payment/#{URI.encode(payment_id)}/refund

Resources