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

Payment Initiation

Universal payment initiation endpoint used by multiple payment types

Initiate Payment

post
/pg/payment/card/initiate

Universal payment initiation endpoint used by multiple payment methods. The payment method is determined by the sourceOfFunds.type field.

Supported payment types:

  • finpaycode: Finpay Payment Code

  • dana: DANA E-Money

  • finpaymoney: Finpay Money

  • jenius: Jenius Pay

  • linkajaapplink: LinkAja App Link

  • linkajaweb: LinkAja Web

  • ovo: OVO E-Money

  • shopeepay: ShopeePay E-Money

  • virgo: Virgo E-Money

  • qris: QRIS Payment

  • cc: Credit Card

  • bcaklikpay: BCA KlikPay

  • bsecure: BSecure

  • octoclicks: Octo Clicks

  • permatanet: PermataNet

  • kredivo: Kredivo Paylater

  • indodana: Indodana Paylater

  • shopeepaylater: ShopeePay Later

Authorizations
AuthorizationstringRequired

Basic authentication using Merchant ID and Merchant Key

Body
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
Responses
200

Payment initiated successfully

application/json
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
post/pg/payment/card/initiate
POST /pg/payment/card/initiate HTTP/1.1
Host: devo.finnet.co.id
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 658

{
  "customer": {
    "id": "hajar.finnet@gmail.com",
    "email": "hajar.finnet@gmail.com",
    "firstName": "Hajar",
    "lastName": "Ismail",
    "mobilePhone": "+6281286288844"
  },
  "order": {
    "id": "1680576995412",
    "amount": "1000",
    "currency": "IDR",
    "description": "Testing",
    "item": [
      {
        "name": "name",
        "quantity": "1",
        "category": "apa",
        "description": "apalah",
        "unitPrice": "100"
      }
    ]
  },
  "url": {
    "callbackUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/resultfailed.php",
    "successUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/resultsuccess.php",
    "failUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/resultfailed.php"
  },
  "sourceOfFunds": {
    "type": "finpaycode",
    "paymentCode": "8804483313131312"
  }
}
200

Payment initiated successfully

{
  "responseCode": "2000000",
  "responseMessage": "Success",
  "processingTime": 0.9721949100494385,
  "redirecturl": "https://devo.finpay.id/widgetpg/pending/5613",
  "expiryLink": "2023-04-05 09:56:35",
  "paymentCode": "8802700000076850"
}

Last updated