Your Shopping Bag Is Empty
Parameter = {
“payment_type”: “kredivo”,
“transaction_details”: {
“order_id”: “TBO_2107”,
“gross_amount”: “5160000”,
“currency”: “IDR”
},
“customer_details”: {
“email”: “[email protected]”,
“first_name”: “MUGI”,
“last_name”: “RAHAYU”,
“phone”: “(+62) 0822-40415072”,
“shipping_address”: {
“first_name”: “MUGI”,
“last_name”: “RAHAYU”,
“phone”: “(+62) 0822-40415072”,
“address”: “Gg sadar 1 No 49 Rt. 08 Rw. 01”,
“city”: “Bekasi”,
“postal_code”: “17431”,
“country_code”: “IDN”
}
},
“item_details”: [{“id”:517732,”name”:”Kira Chevron Camera Bag – New Cream”,”price”:”5160000″,”quantity”:1}]
}, Response = {“status_code”:”201″,”status_message”:”Kredivo transaction is created”,”transaction_id”:”6632b426-8703-45b4-8eeb-e6af26e486fe”,”order_id”:”TBO_2107″,”merchant_id”:”G491053497″,”gross_amount”:”5160000.00″,”currency”:”IDR”,”payment_type”:”kredivo”,”transaction_time”:”2025-10-27 11:05:09″,”transaction_status”:”pending”,”fraud_status”:”accept”,”channel_response_code”:”OK”,”channel_response_message”:”Checkout URL is created successfully.”,”expiry_time”:”2025-10-28 11:05:09″,”redirect_url”:”https://api.midtrans.com/v1/redirect?type=merchant&paymentType=kredivo&referenceId=A220251027040509gWxa8zS0IsID-1&merchantId=G491053497″}



