Dettaglioauto SA - API Collection V1
  1. Coupon
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. Coupon

Apply Coupon

POST
/v1/apply-coupon
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 --request POST 'https://dev.your-api-server.com/v1/apply-coupon' \
--header 'Customer-Key: {{Customer-Key}}' \
--header 'Secret-Key: {{Secret-Key}}' \
--header 'Accept-Language: en' \
--form 'coupon="TEST_123"' \
--form 'services[]="{{service_uuid}}"' \
--form 'branch_uuid="{{branch_uuid}}"'
Response Response Example
{
    "success": true,
    "message": "success",
    "data": {
        "message": "Coupon applied successfully.",
        "coupon_code": "Dettaglio2025",
        "coupon_amount": "15",
        "price": "586.50",
        "family": "ramadan"
    }
}
Modified at 2025-12-26 13:13:15
Previous
Get Payment Details
Next
Initialize Cart
Built with