Purchase with OTP
Create a Mandiri Direct Debit purchase using an OTP.
Endpoint
Development
POST
https://devo.finnet.co.id/pg/payment/card/initiate
Production
POST
https://live.finnet.co.id/pg/payment/card/initiate
Body Request
Content-Type: application/json.
1
customer
Object
M
Customer identity and contact details.
2
customer.email
String
M
Customer email.
3
customer.firstName
String
M
Customer first name.
4
customer.lastName
String
M
Customer last name.
5
customer.mobilePhone
String
M
Use international format (example: +628...).
6
order
Object
M
Order details.
7
order.id
String
M
Unique order ID from your system.
8
order.amount
String
M
Amount as string. Example: "1000".
9
order.currency
String
M
Currency code. Example: IDR.
10
order.description
String
M
Order description.
11
order.otp
String
M
OTP received by the customer.
12
order.referenceNumber
String
M
Reference number associated with the OTP request.
13
url
Object
M
Callback configuration.
14
url.callbackUrl
String
M
URL to receive payment result callback.
15
sourceOfFunds
Object
M
Funding source configuration.
16
sourceOfFunds.type
String
M
Value for Mandiri Direct Debit: ddmandiri.
17
sourceOfFunds.accountId
String
M
Mandiri Direct Debit account token.
Sample Request
Body Response
2
responseMessage
String
M
Response Message.
4
processingTime
Number
M
Processing time.
5
traceId
String
M
Trace ID for debugging/troubleshooting.
Sample Response
Last updated

