### GET /v1/transaction/{trx_id} Source: https://paymenku.com/docs Retrieves the real-time status of a specific transaction using its unique transaction ID. ```APIDOC ## GET /v1/transaction/{trx_id} ### Description Checks the status of a transaction in real-time. ### Method GET ### Endpoint /v1/transaction/{trx_id} ### Parameters #### Path Parameters - **trx_id** (string) - Required - The unique transaction ID to query ``` -------------------------------- ### Buat Transaksi QRIS dengan Laravel Source: https://paymenku.com/docs Contoh penggunaan HTTP client Laravel untuk mengirim request pembuatan transaksi ke endpoint Paymenku. ```php // Buat transaksi QRIS dalam 3 baris $response = Http::withToken('sk_live_xxx') ->post('https://api.paymenku.com/v1/transaction/create', [ 'channel_code' => 'qris3', 'amount' => 150000, 'reference_id' => 'INV-001', 'customer_name' => 'Budi Santoso', ]); // Response: pay_url, qr_string, trx_id return $response->json(); ``` -------------------------------- ### POST /v1/disbursement/create Source: https://paymenku.com/docs Initiates a fund disbursement to a bank account with account inquiry verification. ```APIDOC ## POST /v1/disbursement/create ### Description Sends funds to over 100 supported banks. ### Method POST ### Endpoint /v1/disbursement/create ``` -------------------------------- ### POST /v1/transaction/create Source: https://paymenku.com/docs Creates a new payment transaction. This single endpoint supports various payment methods including QRIS, Virtual Accounts, and E-Wallets by specifying the appropriate channel_code. ```APIDOC ## POST /v1/transaction/create ### Description Creates a new payment transaction for QRIS, Virtual Account, or E-Wallet methods. ### Method POST ### Endpoint /v1/transaction/create ### Request Body - **channel_code** (string) - Required - The payment channel code (e.g., 'qris3') - **amount** (integer) - Required - The transaction amount - **reference_id** (string) - Required - Unique merchant reference ID - **customer_name** (string) - Required - Name of the customer ### Response #### Success Response (200) - **pay_url** (string) - URL for payment - **qr_string** (string) - QR code string - **trx_id** (string) - Unique transaction identifier ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.