DyandratiketAPI

Backend ini berjalan sebagai layanan API (tanpa UI aplikasi).

Service Active

Base URL

https://dev-api-be.dyandratiket.com

Gunakan prefix /api untuk endpoint publik API.

Endpoint Utama

POST/api/payment/create
POST/api/payment/callback/{provider}

Contoh Request Create Payment

{
              "x-api-key": "your-api-key",
              "pg": "finpay",
              "data": {
                "bookingCode": "BOOK-123",
                "name": "Customer Name",
                "email": "[email protected]",
                "phone": "08123456789"
              }
            }

Contoh Response

{
              "payment_code": "PCODE-XXXX",
              "status": "pending",
              "raw": {
                "responseCode": "2000000",
                "responseMessage": "Request has been processed successfully"
              },
              "qr": "...",
              "redirect_url": ""
            }

Response di atas bisa langsung dipass ke project ticketing untuk diproses lanjut.

Laravel v13.7.0