SecurePay
Search…
Search
Merchant can search any transactions

Endpoint URL

Environment
URL
Method
Sandbox
https://sandbox.securepay.my/api/v1/transactions/search
GET
Production
https://securepay.my/api/v1/transactions/search
GET

Credentials

uid (Merchant API UID)
2aaa1633-e63f-4371-9b85-91d936aa56a1
token (Merchant API Auth Token)
ZyUfF8EmyabcMWPcaocX
SecurePay supports multiple credentials. Merchant can use any credentials set in order to request search commands using API.

Parameters

Merchant can search with the below elements: - FPX Reference Number - Order Number (seller) - Exchange Number (Generated by SecurePay)
Parameter
Description
search_reference
fpx_ref_number
order_number
exchange_number
reference_number
Reference number from search elements (search_reference)

Example

1
curl -u 4a73a364-6548-4e17-9130-c6e9bffa3081:GFVnVXHzGEyfzzPk23er "https://sandbox.securepay.my/api/v1/transactions/search?search_reference=order_number&reference_number=1208" | json_pp
2
3
[
4
{
5
"buyer_email" : "[email protected]",
6
"buyer_name" : "Michael Bay",
7
"buyer_phone" : "01261112121",
8
"client_ip" : "103.145.216.156",
9
"created_at" : "2021-08-10T16:11:28.524+08:00",
10
"created_at_unixtime" : "1628583088",
11
"currency" : "MYR",
12
"fpx_bank" : "CIMB BANK",
13
"fpx_debit_auth_code" : "76",
14
"fpx_model" : "B2C",
15
"fpx_name" : "",
16
"fpx_status" : false,
17
"fpx_status_message" : "Transaction Not Found",
18
"fpx_transaction_id" : "2108101554520476",
19
"fpx_transaction_time" : "20210810155452",
20
"interface_name" : "Default",
21
"interface_uid" : "4a73a364-6548-4e17-9130-c6e9bffa3081",
22
"merchant_co_number" : "1273013-P",
23
"merchant_name" : "SP SDN BHD",
24
"merchant_reference_number" : "OBDEM1628582057",
25
"order_number" : "1208",
26
"payment_id" : 7893,
27
"payment_method" : null,
28
"payment_mode" : "merchant",
29
"payment_stage" : "payment_unsuccessful",
30
"payment_status" : false,
31
"receipt_url" : null,
32
"retry_url" : "https://sandbox.securepay.my/api/v1/retry/OBDEM1628582057?uid=ef12813a45cb7fb9852e",
33
"source" : "FPX",
34
"status_url" : "https://sandbox.securepay.my/api/v1/status/OBDEM1628582057?uid=ef12813a45cb7fb9852e",
35
"transaction_amount" : "55.89",
36
"transaction_amount_received" : "0.00",
37
"transaction_fee" : "0.00",
38
"uid" : "ef12813a45cb7fb9852e"
39
}
40
]
41
Copied!
Last modified 1mo ago