Singapay Home Page
Logo Icon
  1. General
  2. Callback

Callback Overview

Our system will automatically send a callback to the registered partner URL when a transaction is either:

  • 00 (successful), or
  • 50 (refunded).

If the callback delivery fails due to an HTTP error or exception, the system will automatically retry based on the type of failure, with a limited number of attempts. In case of a redirect response (e.g., 307 or 308), the system will attempt to follow the new URL provided.

If the maximum retry limit is reached, the partner will be notified of the callback failure.

In addition to automatic callbacks, partners can also resend a callback manually per transaction via the Transaction menu in the dashboard.

Pulsa

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXSP4XA8YFQAY2SK0GMTR7N1",
    "reference_number": "SPTLKMAS10RJBL0098128703251750067454",
    "customer_id": "082291501060",
    "transaction_type": "prepaid",
    "status": "success",
    "inquired_at": null,
    "paid_at": "2025-06-16 16:50:54",
    "net_price": "11000",
    "display_price": {
      "amount": "11000",
      "price": "11000"
    },
    "other_info": [],
    "created_at": "2025-06-16 16:50:54",
    "product": {
      "code": "SPTLKMAS10",
      "name": "Telkomsel/As Pulsa 10.000",
      "category": {
        "code": "TELASP",
        "name": "Telkomsel/AS"
      }
    }
  }
}

Paket Data

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXVHT20F1FS361MAPBW9K199",
    "reference_number": "SPTKMSF2G30RJBL0005075211091750050080",
    "customer_id": "082291501070",
    "transaction_type": "prepaid",
    "status": "success",
    "inquired_at": null,
    "paid_at": "2025-06-16 12:01:20",
    "net_price": "32500",
    "display_price": {
      "amount": "32500",
      "price": "32500"
    },
    "other_info": [],
    "created_at": "2025-06-16 12:01:20",
    "product": {
      "code": "SPTKMSF2G30",
      "name": "Telkomsel Data Flash 2GB 30hr",
      "category": {
        "code": "TELASD",
        "name": "Telkomsel/AS"
      }
    }
  }
}

PDAM

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXXVKYG86AZSXZE7R1NZH9Q0",
    "reference_number": "SPPAMJYARJBL0092937214281750127459",
    "customer_id": "000770163",
    "transaction_type": "postpaid",
    "status": "success",
    "inquired_at": "2025-06-17 09:30:59",
    "paid_at": "2025-06-17 09:31:15",
    "net_price": "51559",
    "display_price": {
      "amount": "50059",
      "price": "51559"
    },
    "other_info": [],
    "created_at": "2025-06-17 09:31:15",
    "product": {
      "code": "SPPAMJYA",
      "name": "PDAM PAMJAYA (AETRA & PALYJA)",
      "category": {
        "code": "31",
        "name": "DKI Jakarta"
      }
    }
  }
}

PLN Postpaid

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXXVXS4Y40MKQ2QH2P1A91N8",
    "reference_number": "SPPLNPOSRJBL0042401116801750127777",
    "customer_id": "146300068064",
    "transaction_type": "postpaid",
    "status": "success",
    "inquired_at": "2025-06-17 09:36:17",
    "paid_at": "2025-06-17 09:36:37",
    "net_price": "152505",
    "display_price": {
      "amount": "151005",
      "price": "152505"
    },
    "other_info": [],
    "created_at": "2025-06-17 09:36:37",
    "product": {
      "code": "SPPLNPOS",
      "name": "PLN Pasca Bayar",
      "category": {
        "code": "PLNPOS",
        "name": "PLN Postpaid"
      }
    }
  }
}

PLN Non Taglist

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXXVZYVSTAKVKAPSNGWJV5QQ",
    "reference_number": "SPPLNNONRJBL0072541087541750127853",
    "customer_id": "5220117061994",
    "transaction_type": "postpaid",
    "status": "success",
    "inquired_at": "2025-06-17 09:37:33",
    "paid_at": "2025-06-17 09:37:48",
    "net_price": "6500",
    "display_price": {
      "amount": "5000",
      "price": "6500"
    },
    "other_info": [],
    "created_at": "2025-06-17 09:37:48",
    "product": {
      "code": "SPPLNNON",
      "name": "PLN Non Taglis",
      "category": {
        "code": "PLNNON",
        "name": "PLN Non Taglis"
      }
    }
  }
}

Pulsa Pasca

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXY8A41EJAB9QN50KJ2EMN0W",
    "reference_number": "SPTKMSPOSHRJBL0099999260041750140771",
    "customer_id": "08122962721",
    "transaction_type": "postpaid",
    "status": "success",
    "inquired_at": "2025-06-17 13:12:51",
    "paid_at": "2025-06-17 13:13:04",
    "net_price": "127120",
    "display_price": {
      "amount": "125620",
      "price": "127120"
    },
    "other_info": [],
    "created_at": "2025-06-17 13:13:04",
    "product": {
      "code": "SPTKMSPOSH",
      "name": "Telkomsel Pasca halo h2h",
      "category": {
        "code": "MOBPOS",
        "name": "Pulsa Pasca"
      }
    }
  }
}

Internet TV

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXY8WW6K4CV9ACYJE9Z98MNG",
    "reference_number": "SPINTOPOKERJBL0084574412461750141322",
    "customer_id": "512547917",
    "transaction_type": "postpaid",
    "status": "success",
    "inquired_at": "2025-06-17 13:22:02",
    "paid_at": "2025-06-17 13:23:19",
    "net_price": "246500",
    "display_price": {
      "amount": "245000",
      "price": "246500"
    },
    "other_info": [],
    "created_at": "2025-06-17 13:23:19",
    "product": {
      "code": "SPINTOPOKE",
      "name": "Indovision/Toptv/Okevision",
      "category": {
        "code": "INTV",
        "name": "Internet & TV"
      }
    }
  }
}

BPJS TK BPU

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXY8YRAX0H08RC6X305TJ765",
    "reference_number": "SPBPJSTKBPURJBL0080203625991750141448",
    "customer_id": "3321120409790003",
    "transaction_type": "postpaid",
    "status": "success",
    "inquired_at": "2025-06-17 13:24:08",
    "paid_at": "2025-06-17 13:24:20",
    "net_price": "19300",
    "display_price": {
      "amount": "16800",
      "price": "19300"
    },
    "other_info": [],
    "created_at": "2025-06-17 13:24:20",
    "product": {
      "code": "SPBPJSTKBPU",
      "name": "BPJS Ketenagakerjaan BPU",
      "category": {
        "code": "BPUTK",
        "name": "Bukan Penerima Upah (BPU)"
      }
    }
  }
}

BPJS TK PU

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXY91JG23Q54RJBT6A4HTM9H",
    "reference_number": "SPBPJSTKPURJBL0076533647471750141540",
    "customer_id": "421021041000",
    "transaction_type": "postpaid",
    "status": "success",
    "inquired_at": "2025-06-17 13:25:40",
    "paid_at": "2025-06-17 13:25:53",
    "net_price": "677504",
    "display_price": {
      "amount": "675004",
      "price": "677504"
    },
    "other_info": [],
    "created_at": "2025-06-17 13:25:53",
    "product": {
      "code": "SPBPJSTKPU",
      "name": "BPJS Ketenagakerjaan PU",
      "category": {
        "code": "PUTK",
        "name": "Penerima Upah (PU)"
      }
    }
  }
}

BPJS Kesehatan

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXY9318WSPCGZZRNXA8AEENG",
    "reference_number": "SPBPJSKSPOSRJBL0012683653001750141584",
    "customer_id": "8888802379205901",
    "transaction_type": "postpaid",
    "status": "success",
    "inquired_at": "2025-06-17 13:26:24",
    "paid_at": "2025-06-17 13:26:41",
    "net_price": "72500",
    "display_price": {
      "amount": "70000",
      "price": "72500"
    },
    "other_info": [],
    "created_at": "2025-06-17 13:26:41",
    "product": {
      "code": "SPBPJSKSPOS",
      "name": "BPJS Kesehatan",
      "category": {
        "code": "BPJSKS",
        "name": "BPJS Kesehatan"
      }
    }
  }
}

PLN Token

{
  "command": "callback",
  "response_code": "00",
  "response_text": "Operation completed successfully",
  "data": {
    "transaction_id": "01JXY9RZMEJGW70XVA0S21ZBSF",
    "reference_number": "SPPLNTOK200RJBL0043641775491750142307",
    "customer_id": "14234187889",
    "transaction_type": "prepaid",
    "status": "success",
    "inquired_at": "2025-06-17 13:38:27",
    "paid_at": "2025-06-17 13:38:38",
    "net_price": "201500",
    "display_price": {
      "amount": "201500",
      "price": "201500"
    },
    "other_info": {
      "token": "4307 5676 4385 3975 5351"
    },
    "created_at": "2025-06-17 13:38:40",
    "product": {
      "code": "SPPLNTOK200",
      "name": "PLN Token 200.000",
      "category": {
        "code": "PLNTOK",
        "name": "PLN Token"
      }
    }
  }
}