For the complete documentation index, see llms.txt. This page is also available as Markdown.

Purchase without OTP

Create a Mandiri Direct Debit purchase without OTP.

Endpoint

Environment
Method
URL

Development

POST

https://devo.finnet.co.id/pg/payment/card/directdebit/purchase

Production

POST

https://live.finnet.co.id/pg/payment/card/directdebit/purchase

Body Request

Content-Type: application/json.

No
Name
Type
Mandatory
Description

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

url

Object

M

Callback configuration.

12

url.callbackUrl

String

M

URL to receive payment result callback.

13

sourceOfFunds

Object

M

Funding source configuration.

14

sourceOfFunds.type

String

M

Value for Mandiri Direct Debit: ddmandiri.

15

sourceOfFunds.accountId

String

M

Mandiri Direct Debit account token.

Sample Request

Body Response

200 OK

Returns application/json.

No
Name
Type
Mandatory
Description

1

responseCode

M

Response Code.

2

responseMessage

String

M

Response Message.

3

processingTime

Number

M

Processing time.

4

traceId

String

M

Trace ID for debugging/troubleshooting.

Sample Response

Need an OTP flow? Use Request OTP Purchase and then Purchase with OTP.

Last updated