Date:2026-05-02 09:37:23
METHOD:POST
FUNCTION:Duitku\Api->createInvoice
URL:https://sandbox.duitku.com/webapi/api/merchant/v2/inquiry
REQUEST:{"paymentAmount":10000,"paymentMethod":"BT","merchantOrderId":"1777714641","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":"15eb41f14420897ead48a40bfd7a8db4"}
RESPONSE:{"merchantCode":"D0001","reference":"D0001261HW2Y75OUZOX83O","paymentUrl":"https://sandbox.duitku.com/topup/topupdirectv2.aspx?ref=BT26CS4OMLFC86RIY4A","vaNumber":"8680019076354022","amount":"10000","statusCode":"00","statusMessage":"SUCCESS"}

Date:2026-05-02 12:18:24
METHOD:POST
FUNCTION:Duitku\Api->createInvoice
URL:https://sandbox.duitku.com/webapi/api/merchant/v2/inquiry
REQUEST:{"paymentAmount":10000,"paymentMethod":"BT","merchantOrderId":"1777724303","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":"94cb684ad8c9301045c8ace0523fdf78"}
RESPONSE:{"merchantCode":"D0001","reference":"D000126V1VI0ZUDSFU8DRI","paymentUrl":"https://sandbox.duitku.com/topup/topupdirectv2.aspx?ref=BT26PJJY203QUPV0UV3","vaNumber":"8680013224846985","amount":"10000","statusCode":"00","statusMessage":"SUCCESS"}

