Operations related to authentication tokens
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
- Production Serverhttps://subdomain.dealpos.net/api/v3/Payment/Midtrans/Charge
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Payment/Midtrans/Charge \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Pluit",
"Number": "2023.09.00001",
"NotificationURL": "https://domain.com/api/paymentnotification/gopay"
}'Response
application/json
{ "Transaction_id": "260b81c6-8244-404e-97a7-91ed24cbf58d", "Url": "https://api.midtrans.com/v2/qris/260b81c6-8244-404e-97a7-91ed24cbf58d/qr-code" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Payment/Midtrans/Status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Payment/Midtrans/Status \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Transaction_id": "260b81c6-8244-404e-97a7-91ed24cbf58d"
}'Response
application/json
{ "transaction_type": "off-us", "transaction_time": "2023-08-31 10:53:59", "transaction_status": "settlement", "transaction_id": "4c4f9fc0-abdf-4242-a2d5-9c90437d0dbd", "status_message": "midtrans payment notification", "status_code": 200, "signature_key": "a2515dad47fc2c00b01f14995d6d603843857b77de9786ca91eb0c7743728968d0ebca1b4bccd455b57c36594e0cebf3524a960cb000a6ec90153cc2c1ec27ec", "settlement_time": "2023-08-31 10:54:10", "payment_type": "qris", "order_id": "23.08.00030", "merchant_id": "G668581401", "issuer": "DANA", "gross_amount": 1000, "fraud_status": "accept", "expiry_time": "2023-08-31 11:08:59", "custom_field2": "nelsenlim.dealpos.net", "custom_field1": "410ba2b7-8eff-4759-b5f1-cf47b33ef1cc", "currency": "IDR", "acquirer": "gopay" }