Indodana
| Environment | Method | URL | 
|---|---|---|
| Development | POST | https://devo.finnet.co.id/pg/payment/card/initiate | 
| Production | POST | https://live.finnet.co.id/pg/payment/card/initiate | 
Body Request
| No | Name | Type | Mandatory | Min Length | Max Length | Description | 
|---|---|---|---|---|---|---|
| 1 | order | Object | M | 1 | 12 | Detail of Order | 
| 2 | customer | Object | M | 1 | 8 | Detail of Customer | 
| 3 | url | Object | M | 1 | 4 | Detail of Url | 
| 4 | billing | Object | O | 1 | 1 | Detail of Billing | 
| 5 | shipping | Object | O | 1 | 4 | Detail of Shipping | 
| 6 | meta | Object | O | 1 | 1 | Detail of MetaData | 
| 7 | card | Object | O | 1 | 7 | Detail of Card | 
| 8 | recurring | Object | O | 1 | 11 | Detail of Recurring | 
| 9 | sourceOfFunds | Object | M | 1 | 11 | Detail of SourceOfFunds | 
| 10 | device | Object | O | 1 | 7 | Detail of Device | 
Sample Request
{
  "customer": {
    "email": "hajar.finnet@gmail.com",
    "firstName": "Hajar",
    "lastName": "Ismail",
    "mobilePhone": "+6281286288844"
  },
  "order": {
    "id": "{{orderId}}",
    "amount": "1000000",
    "currency": "IDR",
    "description": "Testing",
    "item": [
      {
        "name": "name",
        "quantity": "1",
        "category": "marketplace",
        "description": "apalah",
        "unitPrice": "500000"
      },
      {
        "name": "name",
        "quantity": "1",
        "category": "marketplace",
        "description": "apalah",
        "unitPrice": "500000"
      }
    ]
  },
  "shipping": {
    "method": "SAME_DAY",
    "origin": {
      "postcodeZip": "12740"
    },
    "contact": {
      "email": "hajar.finnet@gmail.com",
      "firstName": "Hajar",
      "lastName": "Ismail",
      "mobilePhone": "+6281286288844",
      "phone": "+62211500770"
    },
    "address": {
      "city": "Jakarta Selatan",
      "company": "Finnet Indonesia",
      "country": "IDN",
      "postcodeZip": "12740",
      "stateProvince": "DKI Jakarta",
      "stateProvinceCode": "31",
      "street": "Jalan Gatot Subroto",
      "street2": "Jalan Gatot Subroto",
      "source": "Jakarta",
      "sameAsBilling": "SAME"
    }
  },
  "url": {
    "callbackUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/resultsuccess.php"
  },
  "sourceOfFunds": {
    "type": "indodana"
  }
}
Body Response
| No | Name | Type | Mandatory | Min Length | Max Length | Description | 
|---|---|---|---|---|---|---|
| 1 | responseCode | Enum | M | 1 | 7 | Response Code | 
| 2 | responseMessage | String | M | 1 | 500 | Response Message | 
| 3 | paymentCode | String | C | 1 | 30 | Payment Code | 
| 4 | redirecturl | String | C | 1 | 320 | Redirect URL | 
| 5 | expiryLink | String | C | 1 | 19 | Expiry Link | 
| 6 | processingTime | Number | C | 1 | 20 | Processing Time | 
| 7 | appurl | String | C | 1 | 320 | App URL | 
| 8 | imageurl | String | C | 1 | 320 | Image URL | 
| 9 | accountList | Array | C | 1 | 4 | Account List | 
Sample Response
{
    "responseCode": "2000000",
    "responseMessage": "Request has been processed successfully",
    "redirecturl": "https://sandbox01.indodanafinance.co.id/product-installment/payment?purchaseTransactionId=6646b9b8-4ff8-11f0-bc2f-67769841d2a4&pid=FINNET&c=checkout&utm_source=FINNET&utm_campaign=FINNET",
    "appurl": "",
    "imageurl": "",
    "expiryLink": "2025-06-24 13:07:52",
    "paymentCode": "",
    "stringQr": "",
    "processingTime": 2.4478089809417725,
    "traceId": "ae438f5b-81d4-40fb-8e24-2e20700ed781"
}