29 lines
928 B
Bash
29 lines
928 B
Bash
curl -X POST
|
|
http://localhost:3000/api/investasi/midtrans/ \
|
|
-H 'User-Agent: Veritrans' \
|
|
-H 'Accept: application/json'\
|
|
-H 'Content-Type: application/json' \
|
|
-d '{
|
|
"transaction_time": "2020-01-09 18:27:19",
|
|
"transaction_status": "capture",
|
|
"transaction_id":
|
|
"57d5293c-e65f-4a29-95e4-5959c3fa335b",
|
|
"status_message": "midtrans payment notification",
|
|
"status_code": "200",
|
|
"signature_key":
|
|
"16d6f84b2fb0468e2a9cf99a8ac4e5d803d42180347aaa70cb2a7abb13b5c6130458ca9c71956a962c0827637cd3bc7d40b21a8ae9fab12c7c3efe351b18d00a",
|
|
"payment_type": "credit_card",
|
|
"order_id": "Postman-1578568851",
|
|
"merchant_id": "G141532850",
|
|
"masked_card": "48111111-1114",
|
|
"gross_amount": "10000.00",
|
|
"fraud_status": "accept",
|
|
"eci": "05",
|
|
"currency": "IDR",
|
|
"channel_response_message": "Approved",
|
|
"channel_response_code": "00",
|
|
"card_type": "credit",
|
|
"bank": "bni",
|
|
"approval_code": "1578569243927"
|
|
}'
|