Note: Replace YOUR_ACCESS_TOKEN with a valid JWT access token.
Learn more about Authorization
/api/transaction/showThis endpoint retrieves detailed information about a specific transaction. You can search for a transaction either by its internal identifier (id) or by your external transaction identifier (external_id). The transaction can have one of the following statuses: FAIL, PENDING, or SUCCESS and be of one of the following types: DEPOSIT, WITHDRAW, or TRANSFER.
GEThttps://api.money-go.com/api/transaction/show?id=id&external_id=external_idAuthorization: Bearer YOUR_ACCESS_TOKENid: The internal transaction number.external_id : Your transaction number.
Required once id or external_id
Note: Replace YOUR_ACCESS_TOKEN with a valid JWT access token.
Learn more about Authorization
curl -X GET "https://api.money-go.com/api/transaction/show?id=1&external_id=12413214241" \-H "Authorization: Bearer YOUR_ACCESS_TOKEN"<?php
$url = "https://api.money-go.com/api/transaction/show?id=1&external_id=12413214241";$options = [ 'http' => [ 'header' => "Authorization: Bearer YOUR_ACCESS_TOKEN\r\n", 'method' => 'GET' ]];$context = stream_context_create($options);$result = file_get_contents($url, false, $context);if ($result === FALSE) { die('Error occurred while fetching transaction details');}$response = json_decode($result, true);print_r($response);import fetch from 'node-fetch';
async function findTransaction(id: string, externalId: string): Promise<void> { const url = `https://api.money-go.com/api/transaction/show?id=${id}&external_id=${externalId}`; try { const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer YOUR_ACCESS_TOKEN" } }); if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } const data = await response.json(); console.log("Transaction Details:", data); } catch (error) { console.error("Error fetching transaction:", error); }}
findTransaction("1", "12413214241");{ "status": true, "data": { "id": 1, "external_id": "12413214241", "amount": "1.00", "commission": "0.00", "type": "DEPOSIT", "status": "SUCCESS", "currency": { "id": 1, "code": "USD", "precession": 2 }, "processing_pay": { "payment_id": "12413214241", "signature": "SIGNATURE", "transaction_id": 1, "wallet_from": "WALLET_FROM", "wallet_to": "WALLET_TO", "currency_to": "USD", "currency_from": "USD", "amount": 1, "status": "SUCCESS", "cancel": false } }}| Field | Type | Description |
|---|---|---|
| status | boolean | Indicates whether the request was successful. |
| data | object | Contains the transaction details. |
| Field | Type | Description |
|---|---|---|
| id | number | Unique internal identifier for the transaction. |
| external_id | string | External transaction identifier provided by your system. |
| amount | string | Transaction amount as a string. |
| commission | string | Commission charged for the transaction. |
| type | string | Type of the transaction (DEPOSIT, WITHDRAW, TRANSFER). |
| status | string | Transaction status (FAIL, PENDING, SUCCESS). |
| Field | Type | Description |
|---|---|---|
| id | number | Unique identifier of the currency. |
| code | string | Currency code (e.g., “USD”). |
| precession | number | Number of decimal places for the currency. |
| Field | Type | Description |
|---|---|---|
| payment_id | string | Identifier for the payment processing record. |
| signature | string | Digital signature for the transaction. |
| transaction_id | number | Identifier for the transaction in the payment processing system. |
| wallet_from | string | Wallet number from which funds are withdrawn. |
| wallet_to | string | Wallet number to which funds are deposited. |
| currency_to | string | Currency code for the target wallet. |
| currency_from | string | Currency code for the source wallet. |
| amount | number | Processed amount as a numeric value. |
| status | string | Status of the payment processing (e.g., “SUCCESS”). |
| cancel | boolean | Indicates whether the transaction was cancelled. |