Date:2026-09-04 08:35:53
METHOD:POST
FUNCTION:Duitku\Api->createInvoice
URL:https://sandbox.duitku.com/webapi/api/merchant/v2/inquiry
REQUEST:{"paymentAmount":10000,"paymentMethod":"BT","merchantOrderId":"1788485752","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":"9fc0a107271f95503f5e294760df99f9"}
RESPONSE:{"merchantCode":"D0001","reference":"D000126VQXBE13DFQASXTJ","paymentUrl":"https://sandbox.duitku.com/topup/topupdirectv2.aspx?ref=BT266CWBGKRYKENTV21","vaNumber":"8680013940299838","amount":"10000","statusCode":"00","statusMessage":"SUCCESS"}

Date:2026-09-04 11:18:39
METHOD:POST
FUNCTION:Duitku\Api->createInvoice
URL:https://sandbox.duitku.com/webapi/api/merchant/v2/inquiry
REQUEST:{"paymentAmount":10000,"paymentMethod":"BT","merchantOrderId":"1788495519","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":"012f50386e7db91af28df691018dbeaa"}
RESPONSE:{"merchantCode":"D0001","reference":"D0001262I8RN6Z0RL7ZNYQ","paymentUrl":"https://sandbox.duitku.com/topup/topupdirectv2.aspx?ref=BT26SJ5C6JJNYCARI2V","vaNumber":"8680011312069231","amount":"10000","statusCode":"00","statusMessage":"SUCCESS"}

