Debit Chekout Payment
Checkout Payment (Checkout Payment)
Service ini digunakan untuk melakukan transaksi pembayaran menggunakan SpeedCash
info
Jika ingin mendapatkan response appRedirectUrl
bisa request ke kami untuk di open
note
Untuk appRedirectUrl
hanya bisa di test di env production
Service Info
Service Code | 54 |
Http Method | POST |
Path | .../v1.0/debit/payment-host-to-host |
Header
Header Name | Tipe Data | Wajib | Deskripsi |
---|---|---|---|
Content-Type | String | Y | application/json |
X-TIMESTAMP | String | Y | Waktu lokal klien saat ini yyyy-MM-ddTHH:mm:ss.SSSTZD format |
X-PARTNER-ID | String | Y | Client’s client_id (diberikan pada saat onboarding ) |
X-CHANNEL-ID | String | Y | ID channel merchant |
X-SIGNATURE | String | Y | Dibuat dengan algoritma asymmetric with token : Signature Generation |
X-EXTERNAL-ID | String | Y | ID external merchant (tidak boleh sama di hari yang sama) |
Payload Create Payment
Field Name | Tipe Data | Wajib | Deskripsi |
---|---|---|---|
partnerReferenceNo | String | Y | Unik Id milik Partner Length: 1-25 Allowed Chars: `0-9 A-Z |
amount | Object | Y | Object amount |
value | String | Y | Nilai transaksi Length: 1-12 Allowed Chars: 0-9 |
currency | String | Y | Kode mata uang Length: 3 Allowed Value: IDR |
urlParam | Array | Y | Array url |
url | String | C | callback Url / redirect Url Jika callback Url tidak di isi akan kami ambil default callback yang telah di setting sebelumnya |
type | String | Y | Tipe callback Allowed Value: PAY_NOTIFY / PAY_RETURN PAY_NOTIFY - Url Callback PAY_RETURN - url redirect |
isDeeplink | String | Y | tipe Url Y - deeplink N - not deeplink |
validUpTo | String | Y | Waktu transaksi berakhir Format: YYYY-MM-DDTHH:mm:ssZ (ISO8601) |
pointOfInitiation | String | Y | informasi dari inisiasi pengguna Allowed Value: Mobile App / Web App |
additionalInfo | Object | Y | Informasi tambahan |
title | String | Y | Title yang akan muncul di tampilan pembayaran |
note | String | Y | Catatan pembayaran |
{
"partnerReferenceNo": "0000000000",
"amount": {
"value": "1000.00",
"currency": "IDR"
},
"urlParam": [
{
"url": "https://test1.bi.go.id/v1.0/debit/notify",
"type": "PAY_NOTIFY",
"isDeeplink": "N"
},
{
"url": "https://app.test1.bi.go.id/redirect/dashboard",
"type": "PAY_RETURN",
"isDeeplink": "Y"
}
],
"validUpTo":"2024-06-11T13:56:21+07:00",
"pointOfInitiation": "Web App",
"additionalInfo": {
"title": "AGP",
"note": "Soft Sports programming Organized"
}
}
Response Create Payment eWallet
Parameter | Tipe Data | Deskripsi |
---|---|---|
responseCode | String | Kode response |
responseMessage | String | Pesan response |
partnerReferenceNo | String | Kode partner Request Payment |
appRedirectUrl | String | Url deeplink |
webRedirectUrl | String | Url redirect |
additionalInfo | Object | Informasi tambahan |
requestId | Object | kode request Id |
{
"responseCode": "2005400",
"responseMessage": "Succesfull",
"partnerReferenceNo": "0000000000",
"appRedirectUrl": "../payment?app_id=SPEEDCASH&product_code=SCPARTNER&nominal=1000&description=Soft+Sports+programming+Organized&reff_id=0000000000",
"webRedirectUrl": "../checkout/web?token=AN1WDXFWkFD7HzaBUHdBpnFiycUp1B3g",
"additionalInfo": {
"requestId": "46002"
}
}
List Response Code Create Payment eWallet
Response Code | Response Message | Description |
---|---|---|
2005400 | Success | |
4005401 | Invalid field format { field name } | |
4005402 | Invalid mandatory field {field name} | |
4015400 | Invalid signature | X-Signature salah |
4045416 | Partner not found | X-Partner-ID tidak terdaftar |
4095400 | Cannot use same X-EXTERNAL-ID in same day | X-External-ID sudah pernah digunakan di hari yang sama |
4095401 | Duplicate partnerReferenceNo | partnerReferenceNo sudah pernah digunakan |