{
"order": {
"amount": 10.21,
"invoice_number": "INV-001",
"callback_url": "https://doku.com/success?message=success",
"failed_url": "https://doku.com/failed?message=failed",
"auto_redirect": true,
"descriptor": "BIILING-INV-0001",
"currency": "MYR"
},
"customer": {
"id": "CUST-001",
"zip_code": "16455",
"country": "MY",
"name": "DOKU Merchant",
"state": "Selangor",
"city": "XYXYXY",
"address": "Selangor, Malaysia",
"phone": "+60192837465",
"email": "merchant@doku.com"
},
"payment": {
"type": "SALE"
}
}curl --location '/credit-card/v1/payment-page' \
--header 'Request-Timestamp: 2020-12-21T07:56:11.000Z' \
--header 'Signature: HMACSHA256=+xey5+Yk8Jzzw5cOrbhArGMtmoDt26+/6KCgIdOiLVg=' \
--header 'Client-Id: BRN-0205-1700537885721' \
--header 'Request-Id: 418075533589' \
--header 'Request-Target: /credit-card/v1/payment-page' \
--header 'Content-Type: application/json' \
--data-raw '{
"order": {
"amount": 10.21,
"invoice_number": "INV-001",
"callback_url": "https://doku.com/success?message=success",
"failed_url": "https://doku.com/failed?message=failed",
"auto_redirect": true,
"descriptor": "BIILING-INV-0001",
"currency": "MYR"
},
"customer": {
"id": "CUST-001",
"zip_code": "16455",
"country": "MY",
"name": "DOKU Merchant",
"state": "Selangor",
"city": "XYXYXY",
"address": "Selangor, Malaysia",
"phone": "+60192837465",
"email": "merchant@doku.com"
},
"payment": {
"type": "SALE"
}
}'{
"order": {
"invoice_number": "INV-0001",
"currency": "MYR"
},
"credit_card_payment_page": {
"url": "https://app-uat.doku.com/wt-frontend-transaction/dynamic-payment-page?signature=HMACSHA256%3DOvLsuQfoi%2FjMSKH%2Bq6csPeY2Da%2F6RrIE%2Fvbyb1yB9F8%3D&clientId=BRN-0206-1654673059955&invoiceNumber=TEST-SB-240918-0001&requestId=46952&transactionType=S"
}
}