Show Payment details

Guide to integrating with our payment API


Show Payment Details Endpoint

This endpoint allows you to retrieve the details of a specific payment by providing the order number of the transaction. It returns the payment details, including the amount, order number, order ID, status, form URL, confirmation status, and update timestamp.

GET /api/payment/show

Headers

KeyValueRequired
Acceptapplication/jsonYes
Content-Typeapplication/jsonYes
x-app-keyYOUR_APP_KEYYes
x-app-secretYOUR_SECRET_KEYYes

Request Body

ParameterTypeRequiredDescription
order_numberstringYesThe order number of transaction to retrieve

Example Usage in Different Languages

example.js
const axios = require('axios');
 
async function showTransaction(orderNumber) {
  const response = await axios.get('https://epay.guiddini.dz/payment/show', {
    data: { order_number: orderNumber },
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json',
      'x-app-key': 'YOUR_APP_KEY',
      'x-app-secret': 'YOUR_SECRET_KEY'
    }
  });
  console.log(response.data);
}
 
showTransaction('1BU9MF7NVHA8WKKG8W8S');

Response

response.json
{
  "data": {
    "type": "transaction",
    "id": "1BU9MF7NVHA8WKKG8W8S",
    "attributes": {
      "amount": "3000",
      "order_number": "1BU9MF7NVHA8WKKG8W8S",
      "order_id": "rAYKqByC6d1MLIAAF775",
      "status": "processing",
      "deposit_amount": null,
      "auth_code": null,
      "action_code": null,
      "action_code_description": null,
      "error_code": "0",
      "error_message": null,
      "confirmation_status": "requires_verification",
      "license_env": "development",
      "form_url": "https://test.satim.dz/payment/merchants/merchant1/payment_fr.html?mdOrder=rAYKqByC6d1MLIAAF775",
      "svfe_response": null,
      "pan": null,
      "ip_address": null,
      "approval_code": null,
      "updated_at": "2025-04-05T10:36:20+00:00"
    }
  },
  "meta": {
    "code": "TRANSACTION_FOUND",
    "message": "Transaction retrieved successfully"
  }
}