Dettaglioauto SA - API Collection V1
  1. Payment
Dettaglioauto SA - API Collection V1
  • Vehicle Size
    • List Vehicle Sizes
      GET
  • Catalog
    • List categories with services
      GET
  • Region
    • List regions
      GET
  • Branch
    • List Branches
      GET
  • Branch Times
    • List Days
      GET
    • List Hours
      GET
  • Booking
    • Store Booking
      POST
    • List Bookings
      GET
  • Payment
    • Get Payment Details
      GET
  • Coupon
    • Apply Coupon
      POST
  • Cart
    • Initialize Cart
      POST
    • Add To Cart
      POST
    • Get Cart
      GET
    • Remove Cart Item
      DELETE
    • Clear Cart
      DELETE
  1. Payment

Get Payment Details

GET
/v1/payment-details/{{transaction_id}}
Retrieve detailed payment information based on the transaction_id. This endpoint provides information about the payment status, method, amount, currency, and any messages relevant to the payment process.

Request

Header Params

Body Params multipart/form-data

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://dev.your-api-server.com/v1/payment-details/{{transaction_id}}' \
--header 'Customer-Key;' \
--header 'Secret-Key;' \
--header 'Accept-Language:  '
Response Response Example
{
    "success": true,  // Indicates that the request was processed successfully.
    "message": "success",  // Provides a message confirming the successful retrieval of payment details.
    "data": {
        "payment_details": {
            "transaction_id": "d0790914-97d3-47p6-80c9-edd2da74961d",  // Unique booking identifier.
            "status": "failed",  // Status of the payment; in this case, "failed" indicates the payment did not go through.
            "message": "The payment was rejected.",  // Additional message providing details on why the payment failed.
            "payment_method": "Tabby",  // Specifies the payment method used for this transaction (e.g., Tabby).
            "amount": "750",  // Amount of the payment in the specified currency.
            "currency": "SAR",  // Currency in which the payment was processed (e.g., Saudi Riyal).
            "payment_date": "2024-10-30T11:26:35+00:00"  // The date and time of the payment attempt in ISO 8601 format.
        }
    }
}
Modified at 2025-12-26 13:13:15
Previous
List Bookings
Next
Apply Coupon
Built with