Payment Initiation

Body Request

No
Name
Type
Mandatory
Min Length
Max Length
Description

1

order

M

1

12

Detail of Order

2

customer

M

1

8

Detail of Customer

3

url

M

1

4

Detail of Url

4

billing

M

1

1

Detail of Billing

5

shipping

O

1

4

Detail of Shipping

6

meta

M

1

1

Detail of MetaData

7

card

O

1

7

Detail of Card

8

recurring

O

1

11

Detail of Recurring

9

sourceOfFunds

M

1

11

Detail of SourceOfFunds

10

device

O

1

7

Detail of Device

Sample Request

{
  "order": {
    "id": "TRVIDN-DS000001",
    "amount": "200000",
    "description": "Package Trip Bali 5D4N",
    "item": [
      {
        "name": "VOA",
        "quantity": "1",
        "unitPrice": "100000",
        "subMerchantId": "MPN001"
      },
      {
        "name": "Service Charge",
        "quantity": "1",
        "unitPrice": "100000",
        "subMerchantId": "VFS001"
      }
    ]
  },
  "customer": {
    "email": "[email protected]",
    "firstName": "Albert",
    "lastName": "Andreas",
    "mobilePhone": "+6285108014914"
  },
  "url": {
    "callbackUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/tangkapCurl.php"
  },
  "billing": {
    "billerServiceProvider": {
      "customerId": "118120000441100",
      "id": "050017",
      "subId": "DP1002",
      "type": "post"
    }
  },
  "sourceOfFunds": {
    "type": "cc"
  }
}

Body Response

No
Name
Type
Mandatory
Min Length
Max Length
Description

1

statusCode

O

1

10

Status Code

2

StatusDesc

String

O

1

150

Response Message

3

paymentCode

String

O

1

30

Payment Code

4

redirectUrl

String

O

1

320

Redirect URL

Sample Response

Last updated