Date:2026-09-13 00:26:57
METHOD:POST
FUNCTION:Duitku\Api->createInvoice
URL:https://sandbox.duitku.com/webapi/api/merchant/v2/inquiry
REQUEST:{"paymentAmount":10000,"paymentMethod":"BT","merchantOrderId":"1789259216","productDetails":"Test Payment","additionalParam":"","merchantUserInfo":"","customerVaName":"John Doe","email":"customer@gmail.com","phoneNumber":"081234567890","itemDetails":[{"name":"Test Payment","price":10000,"quantity":1}],"customerDetail":{"firstName":"John","lastName":"Doe","email":"customer@gmail.com","phoneNumber":"081234567890","billingAddress":{"firstName":"John","lastName":"Doe","address":"Jl. Kembangan Raya","city":"Jakarta","postalCode":"11530","phone":"081234567890","countryCode":"ID"},"shippingAddress":{"firstName":"John","lastName":"Doe","address":"Jl. Kembangan Raya","city":"Jakarta","postalCode":"11530","phone":"081234567890","countryCode":"ID"}},"callbackUrl":"http://YOUR_SERVER/callback","returnUrl":"http://YOUR_SERVER/return","expiryPeriod":60,"merchantCode":"D0001","signature":"c546c97cc3cca43e9448a3e922ce5f58"}
RESPONSE:{"merchantCode":"D0001","reference":"D0001265OC8PWGP7QLRTG2","paymentUrl":"https://sandbox.duitku.com/topup/topupdirectv2.aspx?ref=BT266OHBPMV6IREB2JP","vaNumber":"8680012060221906","amount":"10000","statusCode":"00","statusMessage":"SUCCESS"}

