GoTopUp API

Dokumentasi API v1

Base URL

https://api.gotopup.shop/v1

Autentikasi

Semua request memerlukan API Key pada header:

X-API-Key: your_api_key_here

Endpoint

Create Transaction

POST /create.php

{
    "order_id": "INV-123",
    "amount": 50000,
    "customer_name": "John Doe",
    "customer_email": "john@example.com",
    "customer_phone": "08123456789"
}

Check Status

GET /check.php?transaction_id=TRX123

Webhook

Kami akan mengirim POST ke callback_url Anda saat status berubah

Dapatkan API Key

Daftar merchant di GoTopUp untuk mendapatkan API Key

Daftar Sekarang