Callback

Callback URL

It will require partner to add one callback url through partner dashboard or put in payment request with POST method

{
    "responseCode": 0,
    "success": true,
    "message": {
        "ID": "Transaksi Anda Telah Berhasil",
        "EN": "Your transaction was successful"
    },
    "data": {
        "refNumber": "cropdrdevtest1",
        "transactionId": 112247,
        "accountNumber": "0814111111200",
        "amount": 1000,
        "totalAdmin": 0,
        "processingFee": 0,
        "denom": "",
        "productCode": "product-code",
        "productName": "product-name",
        "category": "Pulsa",
        "token": "1908202085666581",
        "customerDetails": [
            {
                "key": "Nama Pelanggan",
                "value": "N/A"
            },
            {
                "key": "Tanggal & Waktu Pembayaran",
                "value": "17 Sep 2021 | 12:30"
            },
            {
                "key": "Nomor HP",
                "value": "0814111111200"
            }
        ],
        "billDetails": [],
        "productDetails": [
            {
                "key": "Serial Nomor",
                "value": "1908202085666581"
            }
        ],
        "extraFields": []
    }
}

Response from Partner

Partner should response:
HTTP Status Code: 200

🚧

Response Code

If the partner response anything other than an HTTP status code 200, it will assume that the partner cannot accept the notification. And ayoconnect will retry send callback to partner