Purchase OTP verification
Verify OTP for a Direct Debit BRI purchase.
Send the same payload as purchase initiation, plus OTP fields in order.
Endpoint
Body Request
customer
object
M
Customer identity and contact details.
customer.email
string
M
customer.firstName
string
M
customer.lastName
string
M
customer.mobilePhone
string
M
Use international format (example: +628...).
order
object
M
Order details.
order.id
string
M
Unique order ID from your system.
order.amount
string
M
Amount as string (example: "1000").
order.currency
string
M
Currency code (example: IDR).
order.description
string
M
order.otp
string
M
OTP code (example: "999999").
order.referenceNumber
string
M
Reference number from the initiation response.
url
object
M
Redirect/callback configuration.
url.callbackUrl
string
M
URL to receive payment result callback.
sourceOfFunds
object
M
Funding source configuration.
sourceOfFunds.type
string
M
Value for BRI Direct Debit: ddbri.
sourceOfFunds.accountId
string
M
BRI Direct Debit account token (example format: card_...).
Sample Request
Body Response
200 OK
Returns application/json.
responseMessage
string
M
referenceNumber
string
M
Reference number for tracking.
processingTime
number
M
Processing time in seconds.
traceId
string
M
Trace ID for debugging/troubleshooting.
Sample Response
Last updated

