Signature: ********************Client-Id: ********************username:passwordAuthorization: Basic *****************{
"payment": {
"authorize_id": "193869186391",
"capture_amount": "1000",
"currency": "MYR"
}
}curl --location '/credit-card/capture' \
--header 'Request-Timestamp: 2020-12-21T07:56:11.000Z' \
--header 'Request-Id: 418075533589' \
--header 'Request-Target: /credit-card/v1/payment-page' \
--header 'Signature: <api-key>' \
--header 'Client-Id: <api-key>' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"payment": {
"authorize_id": "193869186391",
"capture_amount": "1000",
"currency": "MYR"
}
}'{
"order": {
"invoice_number": "INV-0001",
"amount": 10000,
"descriptor": "BIILING-INV-0001",
"currency": "MY"
},
"customer": {
"id": "Test001",
"zip_code": "16455",
"country": "MY",
"name": "DOKU Merchant",
"state": "Malaysia",
"city": "Selangor",
"address": "Selangor, Malaysia",
"phone": "0282938478293",
"email": "merchant@doku.com"
},
"payment": {
"type": "CAPTURE",
"request_id": "418075533589",
"response_code": "00",
"response_message": "Approved",
"status": "SUCCES",
"authorize_id": "193869186391",
"approval_code": "112233"
},
"card": {
"token": "536794906625cd02616510faa8460996",
"masked": "557338*******101",
"type": "CREDIT",
"issuer": "OCBC Berhad",
"brand": "VISA"
}
}