Dokumentasi REST API

Gunakan endpoint ini untuk mengintegrasikan YoGateway ke aplikasi Anda (Android/Web/dll).

Base URL: https://pt-engineer.my.id/index.php?mode=api&endpoint={endpoint_name}

GET Create Payment

Membuat transaksi pembayaran baru (QRIS).


Endpoint: create_payment

Parameter (GET):
  • amount (int) - Nominal pembayaran (Contoh: 10000)
Contoh Request:
GET https://pt-engineer.my.id/index.php?mode=api&endpoint=create_payment&amount=10000

GET Check Status

Mengecek status pembayaran (PENDING / SUCCESS / EXPIRED).


Endpoint: check_status

Parameter (GET):
  • trx_id (string) - ID Transaksi dari response create_payment
GET https://pt-engineer.my.id/index.php?mode=api&endpoint=check_status&trx_id=YO-TRX12345

GET Check Profile

Melihat saldo merchant dan info akun.


Endpoint: profile
GET https://pt-engineer.my.id/index.php?mode=api&endpoint=profile

POST Request Withdraw

Melakukan penarikan dana ke Bank/E-Wallet.


Endpoint: withdraw

Body (x-www-form-urlencoded):
  • amount (int) - Nominal
  • bank_code (string) - Kode Bank (Cek endpoint methods)
  • account (string) - No Rekening