Skip to main content

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 Code54
Http MethodPOST
Path.../v1.0/debit/payment-host-to-host
Header NameTipe DataWajibDeskripsi
Content-TypeStringYapplication/json
X-TIMESTAMPStringYWaktu lokal klien saat ini yyyy-MM-ddTHH:mm:ss.SSSTZD format
X-PARTNER-IDStringYClient’s client_id (diberikan pada saat onboarding )
X-CHANNEL-IDStringYID channel merchant
X-SIGNATUREStringYDibuat dengan algoritma asymmetric with token : Signature Generation
X-EXTERNAL-IDStringYID external merchant (tidak boleh sama di hari yang sama)

Payload Create Payment

Field NameTipe DataWajibDeskripsi
partnerReferenceNoStringYUnik Id milik Partner
Length: 1-25
Allowed Chars: `0-9 A-Z
amountObjectYObject amount
valueStringYNilai transaksi
Length: 1-12
Allowed Chars: 0-9
currencyStringYKode mata uang
Length: 3
Allowed Value: IDR
urlParamArrayYArray url
urlStringCcallback Url / redirect Url
Jika callback Url tidak di isi akan kami ambil default callback yang telah di setting sebelumnya
typeStringYTipe callback
Allowed Value: PAY_NOTIFY / PAY_RETURN
PAY_NOTIFY - Url Callback
PAY_RETURN - url redirect
isDeeplinkStringYtipe Url
Y - deeplink
N - not deeplink
validUpToStringYWaktu transaksi berakhir
Format: YYYY-MM-DDTHH:mm:ssZ (ISO8601)
pointOfInitiationStringYinformasi dari inisiasi pengguna
Allowed Value: Mobile App / Web App
additionalInfoObjectYInformasi tambahan
titleStringYTitle yang akan muncul di tampilan pembayaran
noteStringYCatatan 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

ParameterTipe DataDeskripsi
responseCodeStringKode response
responseMessageStringPesan response
partnerReferenceNoStringKode partner Request Payment
appRedirectUrlStringUrl deeplink
webRedirectUrlStringUrl redirect
additionalInfoObjectInformasi tambahan
requestIdObjectkode 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 CodeResponse MessageDescription
2005400Success
4005401Invalid field format { field name }
4005402Invalid mandatory field {field name}
4015400Invalid signatureX-Signature salah
4045416Partner not foundX-Partner-ID tidak terdaftar
4095400Cannot use same X-EXTERNAL-ID in same dayX-External-ID sudah pernah digunakan di hari yang sama
4095401Duplicate partnerReferenceNopartnerReferenceNo sudah pernah digunakan