Skip to main content

AirPay

Quick Start
  1. Sign up at airpay.co.id 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 AirPay →

Overview

AirPay payment integration

Provider IDairpay
CategoryLocal Payment Methods
Websiteairpay.co.id

Authentication

  • Method: Bearer token
  • Base URL: https://api.airpay.co.id/merchant/v1

Configuration

Required Parameters

ParameterDescription
api_keyAPI Key
secret_keySecret Key
merchant_idMerchant ID

Example Configuration

{
"provider": "airpay",
"provider_params": {
"api_key": "your_api_key_here",
"secret_key": "your_secret_key_here",
"merchant_id": "your_merchant_id_here"
}
}

Status Mapping

Provider Status4pay StatusDescription
paidcharged
pendingcharging
refundedrefunded
failedrejected

API Reference

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

Resources