Path /ordersnap/api/v1.0/debit/payment-host-to-host HTTP Method POST Version v1.0 Service Code 54
Field Name Field Type Mandatory Field Description Content-type String M Media type of the resource, i.e. application/json Authorization String M Represents access_token of a request; string starts with keyword “Bearer ” followed by access_token. Can get this token from Access Token B2B response. Read here X-TIMESTAMP String M Client’s current local time in ISO-8601 format. X-SIGNATURE String M Created using symmetric signature HMAC_SHA512 algorithm. Read here X-PARTNER-ID String M Unique identifier for caller. X-EXTERNAL-ID String M Merchant’s unique ID per transaction request CHANNEL-ID String M PJP’s channel id.
Content-type application/json Authorization Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CupvIJbU1Mmu4a11MNDZ7Sg5u9a X-TIMESTAMP 2023-07-06T14:12:50+07:00 X-SIGNATURE qoda1fa417c72d6b91c257e01e54fac824 X-PARTNER-ID 7fb118fb-2738-4886-9817-8a2c4de43001 X-EXTERNAL-ID 41807553358950093184162180797837 CHANNEL-ID 95221
Field Name Field Type Mandatory Field Description partnerReferenceNo String O Nomor identifikasi transaksi pada sistem layanan konsumen. amount Object M Jumlah Transaksi. amount.value String M Nominal Transaksi. amount.currency String M Mata Uang. urlParam Object M Parameter yang disertakan di url untuk mengirimkan pemberitahuan pembayaran. urlParam.url String M Tautan link url. urlParam.type String M Jenis url. urlParam.isDeeplink String M Pemberitahuan menggunakan deeplink atau tidak. validUpTo String O Waktu berakhirnya pembayaran secara otomatis.
Format :
YYYY-MM-DDTHH:mm:ss+07:00 payOptionDetails Object O Detail opsi pembayaran yang akan digunakan untuk melakukan pembayaran. payOptionDetails.payMethod String M Metode Pembayaran. payOptionDetails.payOption String M Opsi pembayaran yang menunjukkan penyedia pembayaran. additionalInfo Object O Informasi tambahan. additionalInfo.userName String M Nama pengguna merchant. additionalInfo.userEmail String M Alamat email pengguna. additionalInfo.userPhone String M Nomor telepon pengguna.
{
"partnerReferenceNo": "order01",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"urlParam": {
"url": "https://yourthankyoupage.com",
"type": "PAY_RETURN",
"isDeeplink": "N"
}
"validUpTo": "2024-08-23T07:44:11+07:00",
"payOptionDetails": {
"payMethod": "7",
"payOption": ""
},
"additionalInfo": {
"userName": "Agung Setiadi Putra",
"userEmail": "[email protected] ",
"userPhone": "082231838297"
}
}
Field Name Field Type Mandatory Field Description additional_info Object M Additional Info additional_info.channel String M Jenis kanal yang digunakan additional_info.deviceId Integer O ID device atau perangkat appRedirectUrl String M URL yang digunakan untuk mengarahkan ke aplikasi tertentu setelah transaksi approvalCode String O Kode Persetujuan partnerReferenceNo String M Nomor referensi unik dari partner referenceNo String M Nomor referensi responseCode Integer M Respon Kode responseMessage String M Debug message to provide more information. webRedirectUrl String M URL untuk mengarahkan ke browser web
{
"additionalInfo": {
"channel": "mobilephone",
"deviceId": ""
},
"appRedirectUrl": "https://www.redirecttomerchant.com?pc_code=linkaja&data=qoinhub:%2F%2Fid.qoin.qoinhub%2Fpayment%3FTrxNo=T24110693364&Signature=OjKXrsLifcJJRWg3yWGfq2RY75tOM12%2FtZ7J55am21LWRPTqkrnDHi+%2FvTwcxponOkaLZzVn1ZOGi7BuFdwnquGD0x2TUE0QxrIFpVJUkJmZXqjN+8MwIZRKFGqYU+JtkxvBOqi6a4e+oHfj+277K1p1tAJAa4SBKWQzvL2FIpdbEpX2T6c4nMpY2gb+n%2Fm8hjvoB1751xuOVq4+jF2JJFn2nAvoyRVRN9cHw2F59JUQWSnuh5GntCViuNl4AFchow7Csb+nwGp%2FTFeGF4FMoJ6yvZrcr8TjtKL91z68xor+2KxinFg0nOau6D92JFY4vT%2FUDEj%2FT3R3Mz3VdNh4hw==",
"approvalCode": "",
"partnerReferenceNo": "D241029004",
"referenceNo": "T24110693364",
"responseCode": "2005400",
"responseMessage": "Request has been processed successfully",
"webRedirectUrl": "https://www.redirecttomerchant.com?pc_code=linkaja&data=qoinhub:%2F%2Fid.qoin.qoinhub%2Fpayment%3FTrxNo=T24110693364&Signature=OjKXrsLifcJJRWg3yWGfq2RY75tOM12%2FtZ7J55am21LWRPTqkrnDHi+%2FvTwcxponOkaLZzVn1ZOGi7BuFdwnquGD0x2TUE0QxrIFpVJUkJmZXqjN+8MwIZRKFGqYU+JtkxvBOqi6a4e+oHfj+277K1p1tAJAa4SBKWQzvL2FIpdbEpX2T6c4nMpY2gb+n%2Fm8hjvoB1751xuOVq4+jF2JJFn2nAvoyRVRN9cHw2F59JUQWSnuh5GntCViuNl4AFchow7Csb+nwGp%2FTFeGF4FMoJ6yvZrcr8TjtKL91z68xor+2KxinFg0nOau6D92JFY4vT%2FUDEj%2FT3R3Mz3VdNh4hw=="
}
Response Code HTTP Status Description 2005400 200 Successful 4005401 400 Invalid format