Your Shopping Bag Is Empty
Parameter = {
“payment_type”: “kredivo”,
“transaction_details”: {
“order_id”: “TBO_2156”,
“gross_amount”: “9500000”,
“currency”: “IDR”
},
“customer_details”: {
“email”: “[email protected]”,
“first_name”: “Jeffry”,
“last_name”: “Yudhaputra”,
“phone”: “(+62) 0812-88030535”,
“shipping_address”: {
“first_name”: “Jeffry”,
“last_name”: “Yudhaputra”,
“phone”: “(+62) 0812-88030535”,
“address”: “Jl Setiabudi VII No. 1”,
“city”: “Jakarta Selatan”,
“postal_code”: “12910”,
“country_code”: “IDN”
}
},
“item_details”: [{“id”:1218456,”name”:”Jacquard Crewneck Top”,”price”:”9500000″,”quantity”:1}]
}, Response = {“status_code”:”201″,”status_message”:”Kredivo transaction is created”,”transaction_id”:”5c750449-3a29-49e3-9c17-b40b12606473″,”order_id”:”TBO_2156″,”merchant_id”:”G491053497″,”gross_amount”:”9500000.00″,”currency”:”IDR”,”payment_type”:”kredivo”,”transaction_time”:”2025-11-18 17:26:48″,”transaction_status”:”pending”,”fraud_status”:”accept”,”channel_response_code”:”OK”,”channel_response_message”:”Checkout URL is created successfully.”,”expiry_time”:”2025-11-19 17:26:48″,”redirect_url”:”https://api.midtrans.com/v1/redirect?type=merchant&paymentType=kredivo&referenceId=A120251118102648WCOB5NjOqlID-1&merchantId=G491053497″}



