Your Shopping Bag Is Empty
Parameter = {
“payment_type”: “kredivo”,
“transaction_details”: {
“order_id”: “TBO_2120”,
“gross_amount”: “7380000”,
“currency”: “IDR”
},
“customer_details”: {
“email”: “[email protected]”,
“first_name”: “Rita”,
“last_name”: “Nofitri”,
“phone”: “(+62) 0811-8300360”,
“shipping_address”: {
“first_name”: “Rita”,
“last_name”: “Nofitri”,
“phone”: “(+62) 0811-8300360”,
“address”: “Gedung TMT 1 Suite 1801 Lantai 18”,
“city”: “Jakarta Selatan”,
“postal_code”: “12560”,
“country_code”: “IDN”
}
},
“item_details”: [{“id”:1177563,”name”:”Romy Small Hobo Bag – Wild Mushroom”,”price”:”8200000.00″,”quantity”:1},{“id”:”TB_DISCOUNT”,”name”:”Discount”,”price”:-820000,”quantity”:1}]
}, Response = {“status_code”:”201″,”status_message”:”Kredivo transaction is created”,”transaction_id”:”02f97150-5bb0-47cb-8360-ea4ae10ba2b6″,”order_id”:”TBO_2120″,”merchant_id”:”G491053497″,”gross_amount”:”7380000.00″,”currency”:”IDR”,”payment_type”:”kredivo”,”transaction_time”:”2025-11-06 15:38:55″,”transaction_status”:”pending”,”fraud_status”:”accept”,”channel_response_code”:”OK”,”channel_response_message”:”Checkout URL is created successfully.”,”expiry_time”:”2025-11-07 15:38:54″,”redirect_url”:”https://api.midtrans.com/v1/redirect?type=merchant&paymentType=kredivo&referenceId=A220251106083855QzVcJPXY25ID-1&merchantId=G491053497″}



