Select Language

curl dart go java javascript php python

Introduction

Welcome to OY! API Documentation. Our API services are organized around REST, accepts form-encoded request bodies and returns JSON-encoded responses.

Definition

For the purpose of standardization and to prevent any misunderstanding, below our the terms we are going to use in this documentation:

Business Flow

Signup for Trial

After partner has acquired access to OY! API Services, then:

  1. Partner can topup OY! Account Deposit via Virtual Accounts
  2. Once Deposit balance is active, Partner can use the API services provided

Postman

Postman is a free web testing service that provides an easy, fast, and solid software for developers to learn and maintain a web service contract from both the provider and consumer. As such, Postman has become a widely used tool for contract testing and reference due to its User Experience.

To streamline development and integration with OY!, we have created a Postman Collection at your disposal. Get started by installing Postman here.

Prerequisites: You must have received an authorization Username and API Key from us to access our feature. Contact us at partner@oyindonesia.com to receive your authorization information now.

Getting Started

The easiest way to get started using our API is to use our Postman Collection. Postman is a free client application that enables you to make calls using API easily. To make integrating with our API easier, we have created Postman Collection of all our endpoints so that you can test our APIs more easily.

The following is an outline of actions to get started with Postman

Run in Postman

You’ll need to create a OY! indonesia account to access OY! APIs via Postman Collection

API Authorization

header

header_result

Create a Postman Variable Environment

The Postman Variable Environment provides you with the capabilities to save authorization configurations. You can use these saved configurations for all your Postman Requests. This step is optional.

header

header

header

You just set your authorization value header with environment variable which already configured.

Test one of our API Calls

header

If you were able to complete all these steps, your environment is working perfectly and is on the right track. Feel free to test out our other API products or contact us at partner@oyindonesia.com if you encountered any difficulties testing our Postman Collection.

Authentication

OY! API uses pair of API Key and IP Address to authenticate a partner request. Partner needs to register a unique IP Address which will be used as originating request for the API Services.

HTTPS Request

Disbursement API can be requested through HTTPS Request to OY! API Base URL endpoint. The HTTPS Header has to be used to allow proper authentication, additionally HTTPS Request should only be made from IP Address which has been registered in OY! System.

API Base URL

Production Environment: https://partner.oyindonesia.com

HTTPS Header

Use following HTTPS Headers when you make a call to OY! API

Header Type Description
Content-Type application/json The Content-Type field indicates that JSON type is acceptable to send to the recipient
Accept application/json The Accept field is used to specify that JSON type is acceptable for the response
X-OY-Username String(64) Partner Username to access OY! API services
X-Api-Key String(255) Partner API Key to access OY! API services

Account Inquiry

Account Inquiry APIs allow you to get beneficiary account details.

Invoice will be created on the first API hit of the day with status INITIATED. The next day, invoice will be updated with status UNPAID. The inquiry service can still be used if there are UNPAID invoices within the agreed grace period.

A scheduler will run every day to check if there is UNPAID invoice that needs to be paid to prevent the inquiry service to be blocked by our system and the invoice status will be updated to PAID. In the event that there is insufficient balance when the scheduler runs, it is the partner responsibility to ensure the invoice is paid accordingly via the payment endpoint or the business portal.

Account Inquiry

curl -X \
POST https://partner.oyindonesia.com/api/account-inquiry \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
-d '{
    "bank_code": "014", 
    "account_number": "1239812390"
}'
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/account-inquiry'));
request.body = json.encode({
  "bank_code": "014",
  "account_number": "1280259361"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/account-inquiry"
  method := "POST"

  payload := strings.NewReader(`{
    "bank_code": "014",
    "account_number": "1280259361"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"bank_code\": \"014\",\n    \"account_number\": \"1280259361\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/account-inquiry")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "bank_code": "014",
  "account_number": "1280259361"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/account-inquiry");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/account-inquiry');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n    "bank_code": "014",\n    "account_number": "1280259361"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "bank_code": "014",
  "account_number": "1280259361"
})
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/account-inquiry", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "bank_code": "014",
    "account_number": "1239812390",
    "account_name": "John Doe",
    "timestamp": "2020-11-19T17:01:17",
    "id": "59e11245-4b36-4ed7-97be-0c501b8ae3c8",
    "invoice_id": "c0503fa6-a5b3-4816-bc07-241473357f58"
}

Use this API to get beneficiary account details.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/account-inquiry
[Staging] POST https://api-stg.oyindonesia.com/api/account-inquiry

Request Parameters

Parameter Type Required Description
bank_code String(255) TRUE Bank Code of the Beneficiary account, see Disbursement Bank Codes
account_number String(255) TRUE Beneficiary account number

Response Parameters

Parameter Type Description
status Object Status of inquiry {code: <status_code>, message: <status_message>}
bank_code String Bank Code of the Beneficiary account, see Disbursement Bank Codes
account_number String Account Number of the Beneficiary Account
account_name String Account Name of the Beneficiary Account
id String Unique ID of the inquiry. ID will be provided only for 000 or 209 status. Otherwise, the ID will be null.
invoice_id String ID of the invoice related to the inquiry result.
timestamp Timestamp UTC Timestamp api hit (Format: yyyy-MM-ddTHH:mm:ss)

Get Account Inquiry Invoices

curl -X \
GET https://partner.oyindonesia.com/api/account-inquiry/invoices \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \ 
-H 'x-api-key:987654'

The above command returns JSON structured similar like this:

{
    "total": 3,
    "status": {
        "code": "000",
        "message": "Success"
    },
    "timestamp": "2020-12-03T17:01:17",
    "data": [
        {
            "invoice_id": "e972bfcb-fcc4-4732-8887-91a589a0b54a",
            "tx_date": "2020-12-03",
            "amount": 2000.0000,
            "total_inquiry": 2,
            "paid_at": null,
            "invoice_status": "INITIATED",
            "due_at": "2020-12-04T16:59:59"
        }, {
            "invoice_id": "53f48b8a-1f53-4f56-aa91-7b32414a7513",
            "tx_date": "2020-12-02",
            "amount": 10000.0000,
            "total_inquiry": 10,
            "paid_at": null,
            "invoice_status": "UNPAID",
            "due_at": "2020-12-03T16:59:59"
        }, {
            "invoice_id": "53f48b8a-1f53-4f56-aa91-7b32414a7513",
            "tx_date": "2020-12-01",
            "amount": 10000.0000,
            "total_inquiry": 10,
            "paid_at": "2020-12-02T08:00:00",
            "invoice_status": "PAID",
            "due_at": "2020-12-02T16:59:59"
        }
    ]
}

Use this API to get inquiry invoices.

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/account-inquiry/invoices?offset=<offset>&limit=<limit>&status=<status>
[Staging] GET https://api-stg.oyindonesia.com/api/account-inquiry/invoices?offset=<offset>&limit=<limit>&status=<status>

Request Parameters

Parameter Type Required Default Description
offset Integer FALSE 0 start offset, default is 0, if empty will used default value
limit Integer FALSE 10 max item to fetch, default is 10, if empty will used default value
status String FALSE invoice status to fetch. If empty will fetch invoice regardless of the status

Response Parameters

Parameter Type Description
total Integer Total number of invoices per username
status Object Status of inquiry {code: <status_code>, message: <status_message>}
timestamp Timestamp UTC Timestamp api hit (Format: yyyy-MM-ddTHH:mm:ss)
data Array of objects List of objects {"invoice_id": <invoice_id>, "tx_date": <tx_date>, "amount": <amount>,"total_inquiry": <total_inquiry>, "paid_at": <paid-at>,"invoice_status": <invoice-status>,"due_at": <due-date>}
- invoice_id invoice ID
- tx_date the UTC+7 date of inquiry transaction from 00:00 UTC+7 until 23:59 UTC+7
- amount amount of the invoice
- total_inquiry the number of inquiries
- paid_at UTC invoice payment timestamp
- invoice_status status of the invoice: INITIATED, UNPAID, or PAID
- due_at UTC due timestamp for the invoice

Get Account Inquiry Invoice by ID

curl -X \
GET https://partner.oyindonesia.com/api/account-inquiry/invoices/e972bfcb-fcc4-4732-8887-91a589a0b54a \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654'

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "invoice_id": "e972bfcb-fcc4-4732-8887-91a589a0b54a",
    "tx_date": "2020-12-03",
    "amount": 2000.0000,
    "total_inquiry": 2,
    "paid_at": null,
    "invoice_status": "INITIATED",
    "due_at": "2020-12-04T16:59:59",
    "timestamp": "2020-12-03T17:01:17"
}

Use this API to get inquiry invoice by ID.

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/account-inquiry/invoices/<id>
[Staging] GET https://api-stg.oyindonesia.com/api/account-inquiry/invoices/<id>

Request Parameters

Parameter Type Required Default Description
id String TRUE Invoice ID

Response Parameters

Parameter Type Description
status Object Status of inquiry {code: <status_code>, message: <status_message>}
invoice_id String invoice ID
tx_date String the UTC+7 date of inquiry transaction from 00:00 UTC+7 until 23:59 UTC+7
amount String amount of the invoice
total_inquiry Integer the number of inquiries
paid_at String UTC invoice payment timestamp
invoice_status String status of the invoice: INITIATED, UNPAID, or PAID
due_at String UTC due timestamp for the invoice

Pay Account Inquiry Invoice

curl -X \
GET https://partner.oyindonesia.com/api/account-inquiry/invoices/pay \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
-d '{
    "invoice_id": "53f48b8a-1f53-4f56-aa91-7b32414a7513"
}'

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "invoice_id": "53f48b8a-1f53-4f56-aa91-7b32414a7513",
    "tx_date": "2020-12-02",
    "amount": 10000.0000,
    "total_inquiry": 10,
    "paid_at": "2020-12-03T01:01:18",
    "invoice_status": "PAID",
    "due_at": "2020-12-03T17:01:00",
    "timestamp": "2020-12-03T01:01:17"
}

Use this API to pay inquiry invoice.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/account-inquiry/invoices/pay
[Staging] POST https://api-stg.oyindonesia.com/api/account-inquiry/invoices/pay

Request Parameters

Parameter Type Required Default Description
invoice_id String TRUE Invoice ID

Response Parameters

Parameter Type Description
status Object Status of inquiry {code: <status_code>, message: <status_message>}
invoice_id String invoice ID
tx_date String the UTC+7 date of inquiry transaction from 00:00 UTC+7 until 23:59 UTC+7
amount String amount of the invoice
total_inquiry Integer the number of inquiries
paid_at String UTC invoice payment timestamp
invoice_status String status of the invoice: INITIATED, UNPAID, or PAID
due_at String UTC due timestamp for the invoice

Account Inquiry Response Codes

These are the list of possible status codes for account inquiry:

Status Meaning
000 Inquiry is success
201 Request is Rejected (User ID is not Found)
202 Request is Rejected (User ID/product is not active)
204 Request is Rejected (Invoice ID is not found)
205 Request is Rejected (Beneficiary Bank Code is Not Supported)
206 Failed doing payment (Balance is not enough)
207 Request is Rejected (Request IP Address is not Registered)
208 Request is Rejected (API Key is not Valid)
209 Request is Rejected (Bank Account is not found)
232 Request is Rejected (User has unpaid invoices)
300 Failed doing payment (invoice is not on UNPAID status)
429 Request Rejected (Too Many Request to specific endpoint)
990 Request is Rejected (Request Parameter is not Valid)
999 Internal server error

Fund Disbursement

Disbursement APIs allow you to send fund to any bank accounts in Indonesia easily and real-time.

Create Disbursement

curl -X \
POST https://partner.oyindonesia.com/api/remit \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
-d '{
  "recipient_bank": "014", 
  "recipient_account": "1239812390", 
  "amount":125000, 
  "note":"Split lunch bill", 
  "partner_trx_id":"1234-asdf",
  "email" :"napoleon@email.com test@email.com",
  "additional_data": {
      "partner_merchant_id": "merchant_abcd123"
  }
}'
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/remit'));
request.body = json.encode({
  "recipient_bank": "008",
  "recipient_account": "0201245681",
  "amount": 15000,
  "note": "Test API Disburse",
  "partner_trx_id": "OYON0000064",
  "email": "business.support@oyindonesia.com",
  "additional_data": {
      "partner_merchant_id": "merchant_abcd123"
  }
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/remit"
  method := "POST"

  payload := strings.NewReader(`{
    "recipient_bank": "008",
    "recipient_account": "0201245681",
    "amount": 15000,
    "note": "Test API Disburse",
    "partner_trx_id": "OYON0000064",
    "email": "business.support@oyindonesia.com",
  "additional_data": {
      "partner_merchant_id": "merchant_abcd123"
  }
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"recipient_bank\": \"008\",\n\t\"recipient_account\": \"0201245681\",\n\t\"amount\": 15000,\n\t\"note\": \"Test API Disburse\",\n\t\"partner_trx_id\": \"OYON0000064\",\n\t\"email\": \"business.support@oyindonesia.com\",\n  \"additional_data\": {\n      \"partner_merchant_id\": \"merchant_abcd123\"\n  }\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/remit")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "recipient_bank": "008",
  "recipient_account": "0201245681",
  "amount": 15000,
  "note": "Test API Disburse",
  "partner_trx_id": "OYON0000064",
  "email": "business.support@oyindonesia.com",
  "additional_data": {
      "partner_merchant_id": "merchant_abcd123"
  }
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/remit");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/remit');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n\t\"recipient_bank\": \"008\",\n\t\"recipient_account\": \"0201245681\",\n\t\"amount\": 15000,\n\t\"note\": \"Test API Disburse\",\n\t\"partner_trx_id\": \"OYON0000064\",\n\t\"email\": \"business.support@oyindonesia.com\",\n  \"additional_data\": {\n      \"partner_merchant_id\": \"merchant_abcd123\"\n  }\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "recipient_bank": "008",
  "recipient_account": "0201245681",
  "amount": 15000,
  "note": "Test API Disburse",
  "partner_trx_id": "OYON0000064",
  "email": "business.support@oyindonesia.com",
  "additional_data": {
      "partner_merchant_id": "merchant_abcd123"
  }
})
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/remit", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status":{
    "code":"101",
    "message":"Request is Processed"
  },
  "amount":125000,
  "recipient_bank":"014",
  "recipient_account":"1239812390",
  "trx_id":"ABC-456",
  "partner_trx_id":"1234-asdf",
  "timestamp":"16-10-2019 10:23:42"
}

Use this API to start disbursing money to a specific beneficiary account.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/remit
[Staging] POST https://api-stg.oyindonesia.com/api/remit

Request Parameters

Parameter Type Required Description
recipient_bank String(255) TRUE Please refer to the Disbursement Bank Codes to find the bank code for the recipient's bank account.
recipient_account String(255) TRUE Recipient bank account number, numeric only.
amount BigInteger TRUE Amount of disbursement, the minimum amount for bank is Rp10.000 and e-wallet is Rp100.
note String(255) FALSE The transaction's message may or may not be reflected in the recipient's bank account statement, based on the bank's capabilities. Using alphanumeric characters and some common symbols (e.g. -, *, . )
partner_trx_id String(255) TRUE Unique disbursement ID for a specific request, generated by partner.
email String(255) FALSE Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com
child_balance String(255) FALSE If the Multi Account Management configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default.
additonal_data Object FALSE Object that includes the additional parameter for partner’s needs. This object contain partner_merchant_id String(64) (Unique ID for each of partner’s merchant)

Response Parameters

Parameter Type Description
status Object Status of Disbursement in Object {code: <status_code>, message: <status_message>}
amount BigInteger Amount to disburse.
recipient_bank String(255) Bank or Ewallet code of the recipient’s account, please refer to Disbursement Bank Codes
recipient_account String(255) Recipient bank account number.
trx_id String(36) Unique disbursement ID from OY!, partners can use this ID for reconciliation.
partner_trx_id String(255) Unique disbursement ID which partner put on the request.
timestamp String(19) Creation time of disbursement transaction in OY! system, using the format "dd-mm-yyyy hh:mm:ss" in UTC time.

Response Code: API Create Disbursement

Below is the list of response codes that show the request status for API Create Disbursement:

Response Code State State Details Description
101 Non-Final Transaction In Progress Transaction is processed.
201 Final Transaction Not Created Request is Rejected (User ID is not Found)
202 Final Transaction Not Created Request is Rejected (User ID is not Active)
203 Final Transaction Not Created Request is Rejected (Duplicate Partner Tx ID)
205 Final Transaction Not Created Request is Rejected (Beneficiary Bank Code is Not Supported)
207 Final Transaction Not Created Request is Rejected (Request IP Address is not Registered)
208 Final Transaction Not Created Request is Rejected (API Key is not Valid)
209 Final Transaction Not Created Request is Rejected (Bank Account is not found)
210 Final Transaction Not Created Request is Rejected (Amount is not valid)
257 Final Transaction Not Created Request is Rejected (Disbursement with the same Partner Tx ID is still in process)
264 Final Transaction Not Created Request is rejected (The suggested routing from the partner is not valid)
300 Final Transaction Failed Transaction is failed.
301 Non-Final Transaction Pending Pending (when there is an unclear answer from bank network)
429 Final Transaction Not Created Request Rejected (Too Many Request to specific endpoint)
504 Non-Final Transaction Unknown Disbursement Submission Timed Out. Note: the transaction status is uncertain, it may or may not have been successfully submitted, so we suggest resubmitting using the same partner_trx_id. Please check your dashboard or contact our business representative.
990 Final Transaction Not Created Request is Rejected (Invalid Format)
999 Non-Final Transaction Unknown Internal Server Error. Please check your dashboard or contact our business representative

Column State Details: Response Code API Create Disbursement

Below is the list of Explanation for column state details that show on response code API Create Disbursement:

State Details Description
Transaction Failed Transaction is failed to disburse.
Transaction In Progress Transaction is still in progress.
Transaction Pending Transaction has an unclear status from the banks.
Transaction Unknown Transaction status is uncertain, please wait the callback or hit check status API to make sure the status of transaction. Please check to your dashboard or contact our business representative.
Transaction Not Created Transaction is not created in the OY! system due to not valid disbursement request.

[Staging only]

You can replicate error response code (final) based on Transaction Status and Request Status by fill in recipient_account value using following format <desired response code>0000. Another value not following the format will be processed normally.

example:

a request with "recipient_account": "2100000" will return response with "status": { "code": "210", message": "Request is Rejected (Amount is not valid)"}

Disbursement Callback

Response callback:

{
  "status":{
    "code":"000",
    "message":"Success"
  },
  "tx_status_description":"Force Credit",
  "amount":125000,
  "recipient_name":"John Doe",
  "recipient_bank":"008",
  "recipient_account":"1234567890",
  "trx_id":"ABC-456",
  "partner_trx_id":"1234-asde",
  "timestamp":"16-10-2020 10:34:23",
  "created_date": "24-01-2020 06:48:08",
  "last_updated_date": "24-01-2020 06:48:39"
}

Once a disbursement request is finished, our system will make a callback status of that disbursement request to your system.

You can set your own callback URL in OY Business dashboard setting. You can Open “Settings” tab, choose “Developer Option”, Choose “Callback Configuration”, and Fill your callback URL in the API Disbursement field.

We also have a resend callback feature which you can read about here.

Callback Parameters

Parameter Type Description
status Object Status of Disbursement in Object {code: <status_code>, message: <status_message>}
tx_status_description String(255) Additional information of status code, especially for failed status e.g. “Account is blocked. Please create a new transaction with a different recipient account number.”
amount BigInteger Amount to disburse.
recipient_name String(255) Account holder name of recipient bank account.
recipient_bank String(255) Bank or Ewallet code of the recipient’s account, please refer to Disbursement Bank Codes
recipient_account String(255) Recipient bank account number.
trx_id String(36) Unique disbursement ID from OY!, partners can use this ID for reconciliation.
partner_trx_id String(255) Unique disbursement ID which partner put on the request.
timestamp String(19) Time of API get disbursement status called by partner ("dd-MM-yyyy HH:mm:ss in UTC time zone").
created_date String(19) Execution time of disbursement in OY! system ("dd-MM-yyyy HH:mm:ss in UTC time zone").
last_updated_date String(19) Latest status change of a disbursement. Example from 'Pending' to 'Success' ("dd-MM-yyyy HH:mm:ss in UTC Time zone")

Transaction Status: API Disbursement

Below is the list of response codes that show the transaction status for Disbursement Callback:

Response Code State Description
000 Final Transaction has been completed (success)
300 Final Transaction is FAILED
301 Non-Final Pending (When there is an unclear answer from Banks Network)

Get Disbursement Status

curl -X \
POST https://partner.oyindonesia.com/api/remit-status \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
-d '{
  "partner_trx_id": "1234-asde", 
  "send_callback": "true"
}'
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/remit-status'));
request.body = json.encode({
  "partner_trx_id": "OYON0000056"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/remit-status"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_trx_id": "OYON0000056"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"partner_trx_id\": \"OYON0000056\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/remit-status")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_trx_id": "OYON0000056"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/remit-status");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/remit-status');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n  "partner_trx_id": "OYON0000056"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_trx_id": "OYON0000056"
})
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/remit-status", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status":{
    "code":"000",
    "message":"Success"
  },
  "tx_status_description":"Force Credit",
  "amount":125000,
  "recipient_name":"John Doe",
  "recipient_bank":"008",
  "recipient_account":"1234567890",
  "trx_id":"ABC-456",
  "partner_trx_id":"1234-asde",
  "timestamp":"16-10-2020 10:34:23",
  "created_date": "24-01-2020 06:48:08",
  "last_updated_date": "24-01-2020 06:48:39"
}

To get status of a disbursement request, you can call this API. You may need to call this API few times until getting a final status (success/failed). We suggest to check the status after the remit API timed out or 60 seconds after the disbursement requested

This API offers an option to send you a callback status of the disbursement request to a specific URL. You can set your own callback URL in OY Business dashboard setting. You can Open “Settings” tab, choose “Developer Option”, Choose “Callback Configuration”, and Fill your callback URL in the API Disbursement field.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/remit-status
[Staging] POST https://api-stg.oyindonesia.com/api/remit-status

Request Parameters

Parameter Type Required Description
partner_trx_id String(255) TRUE Unique Disbursement ID for a specific request, generated by partner
send_callback Boolean FALSE A flag to indiciate if the status of the disbursement request need to be re-sent as a callback or not

Response Parameters

Parameter Type Description
status Object Status of Disbursement in Object {code: <status_code>, message: <status_message>}
tx_status_description String(255) Additional information of status code, especially for failed status. E.g. Account is blocked. Please create a new transaction with a different recipient account number.
amount BigInteger Amount to disburse.
recipient_name String(255) Account holder name of recipient bank account.
recipient_bank String(255) Bank or Ewallet code of the recipient’s account, please refer to Disbursement Bank Codes
recipient_account String(255) Recipient bank account number.
trx_id String(36) Unique disbursement ID from OY!, partners can use this ID for reconciliation.
partner_trx_id String(255) Unique disbursement ID which partner put on the request.
timestamp String(19) Time of API get disbursement status called by partner ("dd-MM-yyyy HH:mm:ss in UTC time zone").
created_date String(19) Execution time of disbursement in OY! system ("dd-MM-yyyy HH:mm:ss in UTC time zone").
last_updated_date String(19) Latest status change of a disbursement. Example from 'Pending' to 'Success' ("dd-MM-yyyy HH:mm:ss in UTC Time zone")

Response Code: API Get Disbursement Status

Below is the list of response codes that show the request status for API Get Disbursement Status:

Response Code State State Details Description
000 Final Transaction Success Transaction has been completed.
101 Non-Final Transaction In Progress Transaction is processed.
102 Non-Final Transaction In Progress Transaction is in progress.
201 Non-Final Transaction Unknown Request for Get Disbursement Status is rejected (user ID is not found)
202 Non-Final Transaction Unknown Request for Get Disbursement Status is rejected (user ID is not active)
204 Final Transaction Not Created Transaction do not exist (Partner Tx ID is Not Found)
206 Final Transaction Failed Transaction is failed (partner deposit balance is not enough)
207 Non-Final Transaction Unknown Request for Get Disbursement Status is rejected (request IP Address is not registered)
208 Non-Final Transaction Unknown Request for Get Disbursement Status is rejected (API key is not valid)
225 Final Transaction Failed Transaction is failed (Transaction amount exceeds the maximum limit)
300 Final Transaction Failed Transaction is failed.
301 Non-Final Transaction Pending Pending (when there is an unclear answer from bank network)
429 Non-Final Transaction Unknown Request for Get Disbursement Status is rejected (too many requests to specific endpoint)
990 Final Transaction Unknown Request for Get Disbursement Status is rejected (invalid format)
999 Non-Final Transaction Unknown Internal Server Error

Column State Details: Response Code API Get Disbursement Status

Below is the list of Explanation for column state details that show on response code API Get Disbursement Status:

State Details Description
Transaction Success Transaction has been completed & successfully received on the recipient account
Transaction Failed Transaction is failed to disburse.
Transaction In Progress Transaction is still in progress.
Transaction Pending Transaction has an unclear status from the banks.
Transaction Unknown Transaction status is uncertain, please wait the callback or hit check status API to make sure the status of transaction. Please check to your dashboard or contact our business representative.
Transaction Not Created Transaction is not created in the OY! system due to not valid disbursement request.

Disbursement Failed Reasons

If you receive a failed disbursement in the callback or check status response, this means that we tried processing the disbursement and failed.

We return failed reasons description in our callback & check status response in the tx_status_description parameter. Partners need to understand each failed reason to decide the appropriate action to take. Below is a list of the failed reasons that partners may receive:

Explanation: Disbursement Failed Reasons

Failed Reason Explanation Should I retry?
Account is blocked. Please create a new transaction with a different recipient account number. Recipient account number is blocked by the bank & disbursement cannot proceed to this account. If you retry with the same request, most likely it will return the same response. Please confirm to the recipient that the account number details are correct and can receive funds. After that, you can revise the request to the correct account number before trying again.
Account has exceeded the maximum amount for receiving money. Please contact the account owner. Recipient account number has reached the balance limit amount that is set by the corresponding bank/e-wallet. If you retry with the same request, most likely it will return the same response. Please confirm to the recipient that the account number details can receive funds for that amount. After that, you can revise the request to the correct account number and amount before trying again.
Account is no longer active. Please create a new transaction with a different recipient account number. Recipient account number is no longer active in the bank & disbursement cannot proceed to this account. If you retry with the same request, most likely it will return the same response. Please confirm to the recipient that the account number details are correct and can receive funds. After that, you can revise the request to the correct account number before trying again.
Account not found. Please create a new transaction with a different recipient account number. Recipient account number is not found for the bank selected & disbursement cannot proceed to this account. If you retry with the same request, most likely it will return the same response. Please confirm to the recipient that the account number details and the selected bank are correct and can receive funds. After that, you can revise the request to the correct account number before trying again.
The bank/e-wallet provider system is under maintenance. Please try again in a moment. The bank/e-wallet is in downtime so there will be disturbances in the disbursement process. Please ensure the information of the bank maintenance schedule to our customer service. If there is any clear information about the maintenance schedule from the banks, you can retry the transaction after the maintenance schedule is over.
The bank/e-wallet system encounters an error while disbursing the money. Try again in a moment. The bank/e-wallet has an issue in their system to process the disbursement. There may be intermittent issues in the bank system that are unpredictable. You can retry the disbursement in the next few minutes. If you need any further information regarding the issue, you can contact our customer service.
System encounters an error while disbursing the money. Please try again in a moment. There is an issue in the process of the disbursement. There may be intermittent issues that are unpredictable. You can retry the disbursement in the next few minutes. If you need any further information regarding the issue, you can contact our customer service.
Your transaction exceeds the maximum limit amount. Please adjust the amount and try again. The transaction has an amount that exceeds the maximum limit that is already set in the OY! system. If you retry with the same request, it will return the same response. Please adjust the transaction amount according to the maximum limit that OY! gives to you. If you need any further information regarding the limit amount, you can contact our business representative.
Not enough balance to disburse the money, please top up your balance. Insufficient partner’s deposit balance to process the disbursement transaction. Please top up your deposit balance in the OY! dashboard. You can retry the disbursement transaction after ensuring that you have sufficient balance in your account.

Get Balance

curl -X \
GET https://partner.oyindonesia.com/api/balance \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-OY-Username: janedoe' \
-H 'X-Api-Key: 7654321'
var headers = {
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}',
  'Content-Type': 'application/json',
  'Accept': 'application/json'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/balance'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/balance"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/balance")
  .method("GET", null)
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/balance");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/balance');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}',
  'Content-Type' => 'application/json',
  'Accept' => 'application/json'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}',
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}
conn.request("GET", "/api/balance", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status":{
    "code":"000",
    "message":"Success"
  },
  "balance":100000000.0000,
  "overdraftBalance":500000.0000,
  "overbookingBalance":200000.0000,
  "pendingBalance":2000000.0000,
  "availableBalance":98500000.0000,
  "timestamp":"10-12-2019 12:15:37"
}

Use this API to get partner balance.

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/balance
[Staging] GET https://api-stg.oyindonesia.com/api/balance

Response Parameters

Parameter Type Description
status Object Status of Disbursement in Object {code: <status_code>, message: <status_message>}
balance BigDecimal Remaining balance (Accept non fraction number)
overdraftBalance BigDecimal Remaining overdraft balance (Accept non fraction number)
overbookingBalance BigDecimal Remaining overbooking balance (Accept non fraction number)
pendingBalance BigDecimal The cumulative balance of your pending transactions.
availableBalance BigDecimal The total cumulative money of Balance + Available Overdraft - Pending Balance that you can use for disbursement.
timestamp String(19) Execution time of Disbursement in OY! system ("dd-MM-yyyy HH:mm:ss in UTC Time zone").

Request Status: API Get Balance

Below is the list of response codes that show the request status for API Get Balance:

Response Code Description Notes
000 Request get balance is success -
207 Request is Rejected (Request IP Address is not Registered) Request check balance rejected.
208 Request is Rejected (API Key is not Valid) Request check balance rejected.
999 Internal Server Error Request check balance rejected.
201 Request is Rejected (User ID is not Found) Request check balance rejected.
202 Request is Rejected (User ID is not Active) Request check balance rejected.
429 Request Rejected (Too Many Request to specific endpoint) Request check balance rejected.
900 Request is Rejected (Invalid Format) Request check balance rejected.

Disbursement Bank Codes

Supported Bank Codes to be used in the Disbursement Request:

Bank Codes Bank Name
002 Bank BRI
008 Bank Mandiri
009 Bank BNI
011 Bank Danamon
013 Bank Permata
013 Bank Permata Syariah
014 Bank BCA
016 BII Maybank
019 Bank Panin
022 CIMB Niaga
023 Bank UOB INDONESIA
028 Bank OCBC NISP
031 CITIBANK
036 Bank Windu Kentjana International
037 Bank ARTHA GRAHA
042 Bank TOKYO MITSUBISHI UFJ
046 Bank DBS
050 Standard Chartered
054 Bank CAPITAL
061 ANZ Indonesia
069 Bank OF CHINA
076 Bank Bumi Arta
087 Bank HSBC
088 Bank Antardaerah
089 Bank Rabobank
095 Bank JTRUST INDONESIA
097 Bank MAYAPADA
110 Bank Jawa Barat
111 Bank DKI
112 Bank BPD DIY
113 Bank JATENG
114 Bank Jatim
115 Bank Jambi
115 Bank Jambi Syariah
116 Bank Aceh
116 Bank Aceh Syariah
117 Bank SUMUT
118 Bank NAGARI
119 Bank Riau
119 Bank Riau Syariah
120 Bank SUMSEL BABEL
120 Bank SUMSEL BABEL Syariah
121 Bank Lampung
122 Bank KALSEL
123 Bank KALBAR
124 Bank BPD Kaltim
125 Bank BPD Kalteng
126 Bank SULSELBAR
127 Bank Sulut
128 Bank NTB
128 Bank NTB Syariah
129 Bank BPD Bali
130 Bank NTT
131 Bank Maluku
132 Bank BPD Papua
134 Bank SULTENG
135 Bank Sultra
137 Bank BANTEN
145 Bank Nusantara Parahyangan
146 Bank Of India Indonesia
147 Bank Muamalat
151 Bank Mestika
152 Bank SHINHAN
153 Bank Sinarmas
157 Bank Maspion
161 Bank Ganesha
164 Bank ICBC
167 Bank QNB indonesia
200 Bank BTN
212 Bank Woori Saudara
213 Bank BTPN
405 Bank Victoria Syariah
425 Bank Jabar Banten Syariah
426 Bank Mega
441 Bank Bukopin
451 Bank Syariah Indonesia
472 Bank Jasa Jakarta
484 Bank KEB HANA
485 Bank MNC INTERNATIONAL
490 Bank YUDHA BHAKTI/ Bank Neo Commerce
494 Bank Rakyat Indonesia AGRONIAGA
498 Bank SBI Indonesia (Indomonex)
501 BCA Digital (blu)
503 Bank National Nobu
506 Bank MEGA SYARIAH
513 Bank INA
517 Bank PANIN SYARIAH
520 PRIMA MASTER BANK
521 Bank SYARIAH BUKOPIN
523 Bank Sahabat Sampoerna
526 Bank DINAR
535 Bank Seabank Indonesia
536 Bank BCA SYARIAH
542 Bank ARTOS/ Bank Jago
547 Bank BTPN SYARIAH
548 Bank MULTIARTA SENTOSA
553 Bank Mayora
555 Bank INDEX
559 CNB
564 Bank MANTAP
566 Bank VICTORIA INTL
567 HARDA
688 BPR KS
945 IBK
949 Bank CTBC Indonesia
950 Bank COMMONWEALTH
ovo OVO
linkaja LinkAja
dana Dana
gopay Gopay
shopeepay ShopeePay

VA Aggregator

API VA aggregator allows you to create a unique Virtual Account (VA) number as a payment method for your customers.

VA Aggregator API Base URL

[Production Base URL]: https://partner.oyindonesia.com
[Staging Base URL]: https://api-stg.oyindonesia.com

Create VA

Use this API to create new VA number

curl -X \
POST https://partner.oyindonesia.com/api/generate-static-va
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username: username' \
-H 'x-api-key: apikey' \
-d '{
    "partner_user_id":"51200021",
    "bank_code": "002",
    "amount": 0,
    "is_open": true,
    "is_single_use" : false,
    "is_lifetime": false,
    "expiration_time": 5,
    "username_display": "va name",
    "email": "email@mail.com",
    "trx_expiration_time": 5,
    "partner_trx_id": "TRX0001",
    "trx_counter" : 1
}'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/generate-static-va'));
request.body = json.encode({
   "partner_user_id":"51200021",
   "bank_code": "002",
   "amount": 0,
   "is_open": true,
   "is_single_use" : false,
   "is_lifetime": false,
   "expiration_time": 5,
   "username_display": "va name",
   "email": "email@mail.com",
   "trx_expiration_time": 5,
   "partner_trx_id": "TRX0001",
   "trx_counter" : 1
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/generate-static-va"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_user_id":"51200021",
  "bank_code": "002",
  "amount": 0,
  "is_open": true,
  "is_single_use" : false,
  "is_lifetime": false,
  "expiration_time": 5,
  "username_display": "va name",
  "email": "email@mail.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0001",
  "trx_counter" : 1
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\"partner_user_id\":\"51200021\",\n\"bank_code\": \"002\",\n\"amount\": 0,\n\"is_open\": true,\n\"is_single_use\" : false,\n\"is_lifetime\": false,\n\"expiration_time\": 5,\n\"username_display\": \"va name\",\n\"email\": \"email@mail.com\",\n\"trx_expiration_time\": 5,\n\"partner_trx_id\": \"TRX0001\",\n\"trx_counter\" : 1\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/generate-static-va")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_user_id":"51200021",
  "bank_code": "002",
  "amount": 0,
  "is_open": true,
  "is_single_use" : false,
  "is_lifetime": false,
  "expiration_time": 5,
  "username_display": "va name",
  "email": "email@mail.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0001",
  "trx_counter" : 1
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/generate-static-va");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/generate-static-va');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
$request->setBody('"{\n\"partner_user_id\":\"51200021\",\n\"bank_code\": \"002\",\n\"amount\": 0,\n\"is_open\": true,\n\"is_single_use\" : false,\n\"is_lifetime\": false,\n\"expiration_time\": 5,\n\"username_display\": \"va name\",\n\"email\": \"email@mail.com\",\n\"trx_expiration_time\": 5,\n\"partner_trx_id\": \"TRX0001\",\n\"trx_counter\" : 1\n}"');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_user_id":"51200021",
  "bank_code": "002",
  "amount": 0,
  "is_open": true,
  "is_single_use" : false,
  "is_lifetime": false,
  "expiration_time": 5,
  "username_display": "va name",
  "email": "email@mail.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0001",
  "trx_counter" : 1
})
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("POST", "/api/generate-static-va", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "id": "12345b1-23be-45670-a123-5ca678f12b3e",
    "status": {
        "code": "000",
        "message": "Success"
    },
    "amount": 0,
    "va_number": "123456789182827272",
    "bank_code": "002",
    "is_open": true,
    "is_single_use": false,
    "expiration_time": 1582783668175,
    "va_status": "WAITING_PAYMENT",
    "username_display": "va name",
    "partner_user_id" : "51200021",
    "counter_incoming_payment": 0,
    "partner_trx_id": "TRX0001",
    "trx_expiration_time": 1582783668175,
    "trx_counter": 1
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/generate-static-va
[Staging] POST https://api-stg.oyindonesia.com/api/generate-static-va

Request Parameters

Parameter Type Required Default Description
partner_user_id String(255) TRUE - Partner unique ID for specific user
bank_code String(3) TRUE - Bank code which the VA number will be generated. Refer to VA Bank Code
amount BigDecimal FALSE 0 Amount your user must paid to complete the transaction, if is_open is false, amount is required.
is_open Boolean FALSE true If set true means VA number can accept any amount, field amount can be optional, if set false means VA number only accept the specified amount in the field amount. When you set is_open to false, you must specify amount field.
is_single_use Boolean FALSE false True means that this VA should be closed once there is a successful payment that is being made to this VA.
expiration_time Long FALSE - Expiration time of the VA in minutes, e.g If VA want to be expired after 5 minutes, you just have to set expiration_time to 5. If empty VA will be expired in 24 hour
is_lifetime Boolean FALSE FALSE If it is set to FALSE (default) then VA will expire based on the expiration time. Otherwise, it will remain active.
username_display String(255) FALSE username Customizable VA display name that will be seen by user, If empty willl be using partner username
email String(255) CONDITIONAL (Required by some banks) - Email of user, using email standard format. Required by Mandiri(008), Permata(013) and CIMB(022).
full_name String(255) CONDITIONAL (Required by some banks) - Fill with the name of end-user that will pay this transaction. Required by Mandiri(008), Permata(013) and CIMB(022).
trx_expiration_time Long FALSE - Transaction expiration time in minutes, e.g If Transaction want to be expired after 5 minutes, you just have to set expiration_time to 5. If empty transaction expiration time will be the same with va expiration time
partner_trx_id String(255) FALSE - Partner unique Transaction ID of a VA
trx_counter Int FALSE -1/1 Transaction counter to limit number of transaction that can be receive by va number, if empty will be use default value -1 for multiple use va, and 1 for single use va. If counter reach zero, va cannot be inquiry or accept payment.

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}
amount BigDecimal Amount of VA transaction
va_number String(20) Generated VA number
id String(36) Unique VA ID
partner_user_id String(255) Your unique ID for specific user
bank_code String(3) Bank code for VA, see VA Bank Code
is_open Boolean True means VA number can accept any amount, False means VA number only accept the specified amount in the field amount
is_single_use Boolean True means that this VA should be closed/complete once there is a successful payment that is being made to this VA.
expiration_time Long Expiration time of VA on Unix timestamp in milliseconds, -1 means no expiration time.
va_status String(16) Status of VA, see VA Status
username_display String(255) Customizable VA display name that will be seen by user, If empty willl be using partner username
trx_expiration_time Long Transaction expiration time on Unix timestamp in milliseconds, -1 means no expiration time.
partner_trx_id String(255) Partner unique Transaction ID of a VA
trx_counter Int Transaction counter to limit number of transaction that can be receive by va number, if empty will be use default value -1 for multiple use va, and 1 for single use va. If counter reach zero, va cannot be inquiry or accept payment.
counter_incoming_payment Integer Count total incoming payment of VA
full_name String(255) If full_name is needed when creating the transaction, the inputted full_name value at creation will be shown here

Get VA Info

Get VA info using Unique VA id.

curl -X \
GET https://partner.oyindonesia.com/api/static-virtual-account/1414255-12121-21212121-212121
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username: username' \
-H 'x-api-key: apikey'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api_key}}'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/static-virtual-account/2c26f23d-2dfa-44d1-9202-f8c1f907a983'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/static-virtual-account/2c26f23d-2dfa-44d1-9202-f8c1f907a983"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api_key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/static-virtual-account/2c26f23d-2dfa-44d1-9202-f8c1f907a983")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api_key}}")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/static-virtual-account/2c26f23d-2dfa-44d1-9202-f8c1f907a983");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api_key}}");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/static-virtual-account/2c26f23d-2dfa-44d1-9202-f8c1f907a983');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api_key}}'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api_key}}'
}
conn.request("GET", "/api/static-virtual-account/2c26f23d-2dfa-44d1-9202-f8c1f907a983", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "id": "1414255-12121-21212121-212121",
    "status": {
        "code": "000",
        "message": "Success"
    },
    "amount": 10000.0000,
    "va_number": "1233456000000000001",
    "bank_code": "002",
    "bank_name": "Bank BRI",
    "is_open": true,
    "is_single_use": false,
    "expiration_time": 1582790250609,
    "va_status": "WAITING_PAYMENT",
    "username_display": "username",
    "amount_detected": 0,
    "partner_user_id": "123456",
    "created": 1613545965167,
    "counter_incoming_payment": 0,
    "trx_expiration_time": 1582790250609,
    "partner_trx_id": "TRX0001",
    "trx_counter": -1,
    "email": "budi@gmal.com",
    "full_name": "budi budiman"
}

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/static-virtual-account/<ID>
[Staging] GET https://api-stg.oyindonesia.com/api/static-virtual-account/<ID>

URL Parameters

Parameter Type Required Default Description
ID String(255) TRUE - Unique VA id, you can get this once you success created VA

Response Parameters

Parameter Type Description
id String Unique VA id
status Object Status of response in Object {code: <status_code>, message: <status_message>}
amount BigDecimal Amount of VA transaction
va_number String(20) Generated VA number
bank_code String(3) Bank code for VA, see VA Bank Code
bank_name String(10) Bank name of the VA
is_open Boolean True means VA number can accept any amount, False means VA number only accept the specified amount in the field amount
is_single_use Boolean True means that this VA should be closed once there is a successful payment that is being made to this VA.
expiration_time Long Expiration time of VA on Unix timestamp in milliseconds, -1 means no expiration time.
va_status String(16) Status of VA, see VA Status
username_display String(255) Customizable VA display name that will be seen by user, If empty willl be using partner username
partner_user_id String(255) Partner unique ID for specific user
created Long Unix timestamp in milliseconds when VA created
counter_incoming_payment Integer Count total incoming payment of VA
trx_expiration_time Long Transaction expiration time on Unix timestamp in milliseconds, -1 means no expiration time.
partner_trx_id String(255) Partner unique Transaction ID of a VA
trx_counter Int Transaction counter to limit number of transaction that can be receive by va number, if empty will be use default value -1 for multiple use va, and 1 for single use va. If counter reach zero, va cannot be inquiry or accept payment.
email String(255) If email is inputted when creating the transaction, the inputted value at creation will be shown here
full_name String(255) If full_name is needed when creating the transaction, the inputted value at creation will be shown here

Update VA

Update VA using unique VA id.

curl -X \
PUT https://partner.oyindonesia.com/api/static-virtual-account/1414255-12121-21212121-212121
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username: username' \
-H 'x-api-key: apikey' \
-d '{
    "amount": 50000,
    "is_single_use": false,
    "expiration_time": 30,
    "username_display": "test",
    "is_lifetime": false,
    "email": "email@domain.com",
    "trx_expiration_time":5,
    "partner_trx_id":"TRX0002",
    "trx_counter": 1
}'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('PUT', Uri.parse('{{base_url}}/api/static-virtual-account/2701b82a-89f8-4343-81a2-fa0c92edca09'));
request.body = json.encode({
  "amount": 50000,
  "is_single_use": false,
  "expiration_time": 30,
  "username_display": "test",
  "is_lifetime": false,
  "email": "email@domain.com",
  "trx_expiration_time":5,
  "partner_trx_id":"TRX0002",
  "trx_counter": 1
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/static-virtual-account/2701b82a-89f8-4343-81a2-fa0c92edca09"
  method := "PUT"

  payload := strings.NewReader(`{
    "amount": 50000,
    "is_single_use": true,
    "expiration_time": 30,
    "username_display": "john doe",
    "is_lifetime": false,
    "email": "john.doe@email.com",
    "trx_expiration_time":5,
  "partner_trx_id":"TRX0002",
  "trx_counter": 1
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"amount\": 50000,\n\t\"is_single_use\": false,\n\t\"expiration_time\": 30,\n\t\"username_display\": "test",\n\t\"is_lifetime\": false,\n\t\"email\": "email@domain.com",\n\t\"trx_expiration_time\": 5,\n\t\"partner_trx_id\": \"TRX0002\",\n\t\"trx_counter\": 1\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/static-virtual-account/2701b82a-89f8-4343-81a2-fa0c92edca09")
  .method("PUT", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "amount": 50000,
  "is_single_use": false,
  "expiration_time": 30,
  "username_display": "test",
  "is_lifetime": false,
  "email": "email@domain.com",
  "trx_expiration_time":5,
  "partner_trx_id":"TRX0002",
  "trx_counter": 1
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("PUT", "%7B%7Bbase_url%7D%7D/api/static-virtual-account/2701b82a-89f8-4343-81a2-fa0c92edca09");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/static-virtual-account/2701b82a-89f8-4343-81a2-fa0c92edca09');
$request->setMethod(HTTP_Request2::METHOD_PUT);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
$request->setBody('{\n  "amount": 50000,\n  "is_single_use": false,\n   "expiration_time": 30,\n    "username_display": "test",\n   "is_lifetime": false,\n "email": "email@domain.com",\n  "trx_expiration_time": 5,\n "partner_trx_id": "TRX0002",\n  "trx_counter": 1\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "amount": 50000,
  "is_single_use": false,
  "expiration_time": 30,
  "username_display": "test",
  "is_lifetime": false,
  "email": "email@domain.com",
  "trx_expiration_time":5,
  "partner_trx_id":"TRX0002",
  "trx_counter": 1
})
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("PUT", "/api/static-virtual-account/2701b82a-89f8-4343-81a2-fa0c92edca09", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "id": "1414255-12121-21212121-212121",
    "status": {
        "code": "000",
        "message": "Success"
    },
    "amount": 50000,
    "va_number": "1001234000000000001",
    "bank_code": "002",
    "is_open": true,
    "is_single_use": false,
    "expiration_time": 1582802205412,
    "va_status": "WAITING_PAYMENT",
    "username_display": "vaname",
    "partner_user_id": "12345677",
    "trx_expiration_time": 1582802205412,
    "partner_trx_id": "TRX0002",
    "trx_counter": 1,
    "counter_incoming_payment" : 0
}

HTTPS Request

[Production] PUT https://partner.oyindonesia.com/api/static-virtual-account/<ID>
[Staging] PUT https://api-stg.oyindonesia.com/api/static-virtual-account/<ID>

URL Parameter

Parameter Type Required Default Description
ID String(36) TRUE - Unique VA ID, you can get this once you success created VA

Request Parameters

Parameter Type Required Default Description
amount BigDecimal FALSE - Amount your user must paid to complete the transaction
is_single_use Boolean FALSE false True means that this VA should be closed once there is a successful payment that is being made to this VA.
expiration_time Long FALSE - Expiration time of the VA in minutes, if empty VA will be expired in 24 hour. If you want to deactivate/cancel the VA, pass "0" in the expiration_time
username_display String - - Customizable VA display name that will be seen by user, If empty willl be using partner username
is_lifetime Boolean FALSE - false
email String(255) FALSE - Email of user, using email standard format
trx_expiration_time Long FALSE - Transaction expiration time in minutes, e.g If Transaction want to be expired after 5 minutes, you just have to set expiration_time to 5. If you want to make the trx_expiration_time expired, pass "0" in the trx_expiration_time
partner_trx_id String(255) FALSE - Partner unique Transaction ID of a VA
trx_counter Int FALSE -1/1 Update transaction counter to limit number of transaction that can be receive by va number

Response Parameters

Parameter Type Description
id String Unique VA id
status Object Status of response in Object {code: <status_code>, message: <status_message>}
amount BigDecimal Amount of VA transaction
va_number String(20) Generated VA number
bank_code String(3) Bank code for VA, see VA Bank Code
is_open Boolean True means VA number can accept any amount, False means VA number only accept the specified amount in the field amount
is_single_use Boolean True means that this VA should be closed once there is a successful payment that is being made to this VA.
expiration_time Long Expiration time of VA on Unix timestamp in milliseconds, -1 means no expiration time.
va_status String(16) Status of VA, see VA Status
username_display String(255) Customizable VA display name that will be seen by user, If empty willl be using partner username
partner_user_id String(255) Partner unique ID for specific user
trx_expiration_time Long Transaction expiration time on Unix timestamp in milliseconds, -1 means no expiration time.
partner_trx_id String(255) Partner unique Transaction ID of a VA
trx_counter Int Transaction counter to limit number of transaction that can be receive by va number, if empty will be use default value -1 for multiple use va, and 1 for single use va. If counter reach zero, va cannot be inquiry or accept payment.
counter_incoming_payment Integer Count total incoming payment of VA
email String(255) If email is needed when creating the transaction, the inputted value at creation will be shown here
full_name String(255) If full_name is needed when creating the transaction, the inputted value at creation will be shown here

Get list of created VA

Get list of created VA

curl -X \
GET https://partner.oyindonesia.com/api/static-virtual-account?offset=0&limit=10
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username: username' \
-H 'x-api-key: apikey'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/static-virtual-account?offset=0&limit=5'));
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/static-virtual-account?offset=0&limit=5"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/static-virtual-account?offset=0&limit=5")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/static-virtual-account?offset=0&limit=5");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/static-virtual-account?offset=0&limit=5');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));

try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("GET", "/api/static-virtual-account?offset=0&limit=5", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "total": 5,
    "data": [
        {
            "id": "9a660428-3373-436b-b929-ef69698dd26f",
            "amount": 12000.0000,
            "va_number": "100536000000000006",
            "bank_code": "002",
            "bank_name": "Bank BRI",
            "is_open": true,
            "is_single_use": false,
            "expiration_time": 1582791896416,
            "va_status": "EXPIRED",
            "username_display": "username",
            "amount_detected": 400000,
            "partner_user_id": "12345",
            "created" : 1613545965167,
            "counter_incoming_payment" : 0,
            "trx_expiration_time": 1582802205412,
            "partner_trx_id": "TRX0002",
            "trx_counter": 0,
            "email": "budi@gmal.com",
            "full_name": "budi budiman"
        },
        {
            "id": "de51383f-1557-409c-8542-dcb74ca76375",
            "amount": 12000.0000,
            "va_number": "100536000000000005",
            "bank_code": "002",
            "bank_name": "Bank BRI",
            "is_open": true,
            "is_single_use": false,
            "expiration_time": 1582790250609,
            "va_status": "EXPIRED",
            "username_display": "username",
            "amount_detected": 500000,
            "partner_user_id": "54321",
            "created" : 1613545965167,
            "counter_incoming_payment" : 0,
            "trx_expiration_time": 1582802205412,
            "partner_trx_id": "TRX0002",
            "trx_counter": 0,
            "email": "budi@gmal.com",
            "full_name": "budi budiman"
        }
    ],
    "status": {
        "code": "000",
        "message": "Success"
    }
}

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/static-virtual-account?offset=<offset>&limit=<limit>
[Staging] GET https://api-stg.oyindonesia.com/api/static-virtual-account?offset=<offset>&limit=<limit>

Request Parameters

Parameter Type Default Description
offset Integer 0 start offset, default is 0, if empty will used default value
limit Integer 10 max item to fetch, default is 10, if empty will used default value

Response Parameters

Parameter Type Description
total Integer total items
data Array of object List of Object {id: <va_id>, amount: <amount>, va_number: <va_number>, bank_code: <bank_code>, bank_name: <bank_name>, is_open: <is_open>, is_single_user: <is_single_user>, expiration_time: <expiration_time>, va_status: <va_status>, username_display: <username_display>, amount_detected: <amount_detected>, partner_user_id: <partner_user_id>, created: <created>, counter_incoming_payment: <counter_incoming_payment>, trx_counter: <trx_counter>, email: <email>, full_name: <full_name>}
status Object Status of response in Object {code: <status_code>, message: <status_message>}

Get List of Transaction for VA

Get list of incoming transaction for specific va number.

curl -X \
GET https://partner.oyindonesia.com/api/va-tx-history/2701b82a-89f8-4343-81a2-fa0c92edca09?offset=0&limit=10
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username: username' \
-H 'x-api-key: apikey'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/va-tx-history/2701b82a-89f8-4343-81a2-fa0c92edca09?offset=0&limit=5'));
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}

package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/va-tx-history/2701b82a-89f8-4343-81a2-fa0c92edca09?offset=0&limit=5"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/va-tx-history/2701b82a-89f8-4343-81a2-fa0c92edca09?offset=0&limit=5")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/va-tx-history/2701b82a-89f8-4343-81a2-fa0c92edca09?offset=0&limit=5");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/va-tx-history/2701b82a-89f8-4343-81a2-fa0c92edca09?offset=0&limit=5');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));

try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("GET", "/api/va-tx-history/2701b82a-89f8-4343-81a2-fa0c92edca09?offset=0&limit=5", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "id": "12345676788898",
    "status": {
        "code": "000",
        "message": "Success"
    },
    "data": [
        {
            "id": "d9c2963f-be14-4558-9380-5ba1db8ed156",
            "created": "2020-02-27 07:48:01",
            "name": "Static VA by username",
            "amount": 10000,
            "create_by": "Static VA by username",
            "last_update_by": "Static VA by username",
            "last_updated": "2020-02-27 10:08:01",
            "admin_fee": 1000,
            "va_number": "123456000000000001",
            "va_history_id": "3d5c41e6-04ac-4f1a-bd5e-53887fedf98f",
            "settlement_time": "2020-02-28 15:00:00",
            "settlement_status": "WAITING"
        }
    ],
    "number_of_transaction": 1,
    "total_incoming_payment": 10000
}

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/va-tx-history/<ID>?offset=<offset>&limit=<limit>
[Staging] GET https://api-stg.oyindonesia.com/api/va-tx-history/<ID>?offset=<offset>&limit=<limit>

URL Parameter

Parameter Type Required Default Description
ID String(36) TRUE - Unique VA ID, you can get this once you success created VA

Request Parameters

Parameter Type Required Default Description
offset Integer FALSE 0 start offset, default is 0, if empty will used default value
limit Integer FALSE 10 max item to fetch, default is 10, if empty will used default value

Response Parameters

Parameter Type Description
id Integer Unique VA id
status Object Status of response in Object {code: <status_code>, message: <status_message>}
data Array of Object List of Object {id: <id>, created: <created>, name: <name>, amount: <amount>, create_by: <create_by>, last_update_by: <last_update_by>, last_updated: <last_updated>, admin_fee: <admin_fee>, va_number: <va_number>, va_history_id: <va_history_id>, settlement_time: <settlement_time>, settlement_status: <settlement_status>}
number_of_transaction Integer Total transaction
total_incoming_payment Integer Total incoming payment

Create Customized VA

Use this API to create new VA number with customized VA suffix.

curl -X \
POST https://partner.oyindonesia.com/api/custom-va
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username: username' \
-H 'x-api-key: apikey' \
-d '{
    "partner_user_id":"51200021",
    "bank_code": "002",
    "amount": 10000,
    "is_open": false,
    "username_display": "va name",
    "email": "email@mail.com",
    "trx_expiration_time": 5,
    "partner_trx_id": "TRX0001",
    "va_suffix" : "081234567890"
}'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/custom-va'));
request.body = json.encode({
    "partner_user_id":"51200021",
    "bank_code": "002",
    "amount": 10000,
    "is_open": false,
    "username_display": "va name",
    "email": "email@mail.com",
    "trx_expiration_time": 5,
    "partner_trx_id": "TRX0001",
    "va_suffix" : "081234567890"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/custom-va"
  method := "POST"

  payload := strings.NewReader(`{
  "partner_user_id":"51200021",
  "bank_code": "002",
  "amount": 10000,
  "is_open": false,
  "username_display": "va name",
  "email": "email@mail.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0001",
  "va_suffix" : "081234567890"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\"partner_user_id\":\"51200021\",\n\"bank_code\": \"002\",\n\"amount\": 10000,\n\"is_open\": false,\n\"username_display\": \"va name\",\n\"email\": \"email@mail.com\",\n\"trx_expiration_time\": 5,\n\"partner_trx_id\": \"TRX0001\",\n\"va_suffix\" : \"081234567890\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/custom-va")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_user_id":"51200021",
  "bank_code": "002",
  "amount": 10000,
  "is_open": false,
  "username_display": "va name",
  "email": "email@mail.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0001",
  "va_suffix" : "081234567890"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/custom-va");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/custom-va');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
$request->setBody('"{\n\"partner_user_id\":\"51200021\",\n\"bank_code\": \"002\",\n\"amount\": 10000,\n\"is_open\": false,\n\"username_display\": \"va name\",\n\"email\": \"email@mail.com\",\n\"trx_expiration_time\": 5,\n\"partner_trx_id\": \"TRX0001\",\n\"va_suffix\" : \"081234567890\"\n}"');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_user_id":"51200021",
  "bank_code": "002",
  "amount": 10000,
  "is_open": false,
  "username_display": "va name",
  "email": "email@mail.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0001",
  "va_suffix" : "081234567890"
})
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("POST", "/api/custom-va", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "id": "12345b1-23be-45670-a123-5ca678f12b3e",
    "status": {
        "code": "000",
        "message": "Success"
    },
    "amount": 10000,
    "va_number": "134789181234567890",
    "bank_code": "002",
    "is_open": false,
    "va_status": "WAITING_PAYMENT",
    "username_display": "va name",
    "partner_user_id" : "51200021",
    "trx_expiration_time": 1582783668175,
    "partner_trx_id": "TRX0001"
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/custom-va
[Staging] POST https://api-stg.oyindonesia.com/api/custom-va

Request Parameters

Parameter Type Required Default Description
partner_user_id String(255) TRUE - Partner unique ID for specific user
bank_code String(3) TRUE - Bank code which the VA number will be generated. Currently our system only supports customized VA BRI and CIMB. For bank code detail, please refer to VA Bank Code
amount BigDecimal FALSE 0 Amount your user must paid to complete the transaction, if is_open is false, amount is required.
is_open Boolean FALSE true If set true means VA number can accept any amount, field amount can be optional, if set false means VA number only accept the specified amount in the field amount. When you set is_open to false, you must specify amount field.
username_display String(255) FALSE username Customizable VA display name that will be seen by user, If empty willl be using partner username
email String(255) FALSE - Email of user, using email standard format
trx_expiration_time Long FALSE - Transaction expiration time in minutes, e.g If Transaction want to be expired after 5 minutes, you just have to set expiration_time to 5. If empty, there will be no transaction expiration time.
partner_trx_id String(255) FALSE - Partner unique Transaction ID of a VA
va_suffix String (10-12) TRUE - Customized VA suffix that will be used by user. Must consists of digit only. Please note that given suffix may be trimmed from the front if it exceeds maximum VA digit capacity.

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}
amount BigDecimal Amount of VA transaction
va_number String(20) Generated VA number
id String(36) Unique VA ID
partner_user_id String(255) Your unique ID for specific user
bank_code String(3) Bank code for VA, see VA Bank Code
is_open Boolean True means VA number can accept any amount, False means VA number only accept the specified amount in the field amount
va_status String(16) Status of VA, see VA Status
username_display String(255) Customizable VA display name that will be seen by user, If empty willl be using partner username
trx_expiration_time Long Transaction expiration time on Unix timestamp in milliseconds, -1 means no expiration time.
partner_trx_id String(255) Partner unique Transaction ID of a VA

Update Customized VA

Update Customized VA using unique VA id.

curl -X \
PUT https://partner.oyindonesia.com/api/custom-va/1414255-12121-21212121-212121
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username: username' \
-H 'x-api-key: apikey' \
-d '{
    "amount": 50000,
    "username_display": "test",
    "email": "email@domain.com",
    "trx_expiration_time": 5,
    "partner_trx_id": "TRX0002"
}'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('PUT', Uri.parse('{{base_url}}/api/custom-va/2701b82a-89f8-4343-81a2-fa0c92edca09'));
request.body = json.encode({
  "amount": 50000,
  "username_display": "test",
  "email": "email@domain.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0002"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/custom-va/2701b82a-89f8-4343-81a2-fa0c92edca09"
  method := "PUT"

  payload := strings.NewReader(`{
  "amount": 50000,
  "username_display": "test",
  "email": "email@domain.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0002"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"amount\": 50000,\n\t\"username_display\": "test",\n\t\"email\": "email@domain.com",\n\t\"trx_expiration_time\": 5,\n\t\"partner_trx_id\": \"TRX0002\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/custom-va/2701b82a-89f8-4343-81a2-fa0c92edca09")
  .method("PUT", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "amount": 50000,
  "username_display": "test",
  "email": "email@domain.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0002"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("PUT", "%7B%7Bbase_url%7D%7D/api/custom-va/2701b82a-89f8-4343-81a2-fa0c92edca09");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/custom-va`/2701b82a-89f8-4343-81a2-fa0c92edca09');
$request->setMethod(HTTP_Request2::METHOD_PUT);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
$request->setBody('{\n  "amount": 50000,\n  "username_display": "test",\n "email": "email@domain.com",\n  "trx_expiration_time": 5,\n "partner_trx_id": "TRX0002"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "amount": 50000,
  "username_display": "test",
  "email": "email@domain.com",
  "trx_expiration_time": 5,
  "partner_trx_id": "TRX0002"
})
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("PUT", "/api/custom-va/2701b82a-89f8-4343-81a2-fa0c92edca09", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "id": "1414255-12121-21212121-212121",
    "status": {
        "code": "000",
        "message": "Success"
    },
    "amount": 50000,
    "va_number": "134789181234567890",
    "bank_code": "002",
    "is_open": false,
    "va_status": "WAITING_PAYMENT",
    "username_display": "test",
    "partner_user_id": "12345677",
    "trx_expiration_time": 1582802205412,
    "partner_trx_id": "TRX0002",
}

HTTPS Request

[Production] PUT https://partner.oyindonesia.com/api/custom-va/<ID>
[Staging] PUT https://api-stg.oyindonesia.com/api/custom-va/<ID>

URL Parameter

Parameter Type Required Default Description
ID String(36) TRUE - Unique VA id, you can get this once you have successfully created a customized VA

Request Parameters

Parameter Type Required Default Description
amount BigDecimal FALSE - Amount your user must paid to complete the transaction
username_display String - - Customizable VA display name that will be seen by user, If empty willl be using partner username
email String(255) FALSE - Email of user, using email standard format
trx_expiration_time Long FALSE - Transaction expiration time in minutes, e.g If Transaction want to be expired after 5 minutes, you just have to set expiration_time to 5. If you want to make the trx_expiration_time expired, pass "0" in the trx_expiration_time
partner_trx_id String(255) FALSE - Partner unique Transaction ID of a VA

Response Parameters

Parameter Type Description
id String Unique VA id
status Object Status of response in Object {code: <status_code>, message: <status_message>}
amount BigDecimal Amount of VA transaction
va_number String(20) Generated VA number
bank_code String(3) Bank code for VA, see VA Bank Code
is_open Boolean True means VA number can accept any amount, False means VA number only accept the specified amount in the field amount
va_status String(16) Status of VA, see VA Status
username_display String(255) Customizable VA display name that will be seen by user, If empty willl be using partner username
partner_user_id String(255) Partner unique ID for specific user
trx_expiration_time Long Transaction expiration time on Unix timestamp in milliseconds, -1 means no expiration time.
partner_trx_id String(255) Partner unique Transaction ID of a VA

Deactivate Customized VA

Use this API to deactivate an existing customized VA using unique VA id.

curl -X \
DELETE https://partner.oyindonesia.com/api/custom-va/1414255-12121-21212121-212121
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username: username' \
-H 'x-api-key: apikey'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api_key}}'
};
var request = http.Request('DELETE', Uri.parse('{{base_url}}/api/custom-va/2c26f23d-2dfa-44d1-9202-f8c1f907a983'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/custom-va/2c26f23d-2dfa-44d1-9202-f8c1f907a983"
  method := "DELETE"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api_key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/custom-va/2c26f23d-2dfa-44d1-9202-f8c1f907a983")
  .method("DELETE", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api_key}}")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "%7B%7Bbase_url%7D%7D/api/custom-va/2c26f23d-2dfa-44d1-9202-f8c1f907a983");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api_key}}");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/custom-va/2c26f23d-2dfa-44d1-9202-f8c1f907a983');
$request->setMethod(HTTP_Request2::METHOD_DELETE);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api_key}}'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api_key}}'
}
conn.request("DELETE", "/api/custom-va/2c26f23d-2dfa-44d1-9202-f8c1f907a983", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    }
}

HTTPS Request

[Production] DELETE https://partner.oyindonesia.com/api/custom-va/<ID>
[Staging] DELETE https://api-stg.oyindonesia.com/api/custom-va/<ID>

URL Parameters

Parameter Type Required Default Description
ID String(255) TRUE - Unique VA id, you can get this once you have successfully created a customized VA

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}

Partner Callback Va Aggregator

Response callback:

{
    "va_number": "1234567",
    "amount": 100000,
    "partner_user_id": "oy0000000001",
    "success": true,
    "tx_date": "31/01/2020T01:01:01.000+0000",
    "username_display": "VA Name",
    "trx_expiration_date": "31/01/2020T01:01:01.000+0000",
    "partner_trx_id": "TRX0002",
    "trx_id": "12345-12345-12453-12455",
    "settlement_time": "01/02/2020T15:00:00.000+0000",
    "settlement_status": "WAITING"
}

Once user successfully do the payment, our system will make a callback via HTTP POST request to your system

Callback Parameters

Parameter Type Nullable Description
va_number String(20) FALSE Generated VA number
amount BigDecimal FALSE Amount of VA transaction
partner_user_id String(255) FALSE Unique ID provided by partner for specific user
success boolean FALSE The status of the payment and it is always set to SUCCESS
tx_date Timestamp FALSE Incoming payment transaction date, format dd/MM/yyyy'T'HH:mm:ss.SSSZZZZ
username_display String(255) FALSE Customizable VA display name that will be seen by user. If partner did not provide the value on creation VA, then it will be using partner’s username
trx_expiration_date Long TRUE Transaction expiration date, format dd/MM/yyyy'T'HH:mm:ss.SSSZZZZ. For VA Lifetime, the value of this parameter will be null/empty
partner_trx_id String(255) TRUE Unique Transaction ID provided by partner on creation or update VA. This parameter will be empty if partner leave this parameter empty when creating or updating the VA
trx_id String (255) FALSE Unique ID of incoming payment
settlement_time Timestamp FALSE The timestamp (in UTC+7) indicating when the fund will be settled to partner’s account statement, format dd/MM/yyyy'T'HH:mm:ss.SSSZZZZ
settlement_status String(255) FALSE The status of the settlement
full_name String(255) TRUE If full_name is needed when creating the transaction, the inputted full_name value at creation will be shown here

VA aggregator Bank Code

Available Bank for VA aggregator

Bank (Virtual Account) Bank Code Open & Closed Amount Capability Lifetime Capability Maximum Expiration Time
BNI 009 Closed Amount Supported -
Bank Mandiri 008 Open Amount, Closed Amount Supported -
BRI O02 Open Amount, Closed Amount Supported -
BCA 014 Open Amount, Closed Amount Supported -
Bank Permata/Permata Syariah 013 Open Amount, Closed Amount Supported -
CIMB Niaga/CIMB Niaga Syariah 022 Open Amount, Closed Amount Supported -
BTPN 213 Open Amount, Closed Amount Supported -
BSI (Bank Syariah Indonesia) 451 Closed Amount Not Supported 99999 minutes
Maybank BII 016 Open Amount, Closed Amount Supported -
KEB Hana 484 Open Amount, Closed Amount Supported -
Bank Danamon 011 Open Amount, Closed Amount Supported -

For all available banks, there is no minimum expiration time.

List of Documents

To enable VA Bank BCA, we need partner to send documents using email, directly to our business representative.

Common Documents

No Document
1 Taxpayer Registration Number
2 National ID

Documents for Foundation, or Donation Partner

No Documents
1 Akta Pendirian Perusahaan
2 Keputusan Dewan Pembina Yayasan
3 Persetujuan Menhumham
4 Taxpayer Registration Number Organization
5 Izin Usaha
6 Surat Keterangan Domisili
7 Sertifikat Yayasan

Documents for Other Company

No Documents
1 Trade Business License
2 Company's Deed
3 Company Registration Certificate
4 Decree of Minister Justine and Human Right

VA aggregator Status

Available Status for VA aggregator

Status Description
WAITING_PAYMENT This status means that VA is active and can receive a payment
PAYMENT_DETECTED This status means that there are incoming payment to VA Number
EXPIRED This status means that VA is expired. You cannot accept or make update to VA Number with this status.
STATIC_TRX_EXPIRED This status means that Transaction is expired. If VA have a unlimited lifetime, you can create a new transaction using update va info.
COMPLETE This status means that VA is closed/complete after get incoming payment. You cannot accept or make update to VA Number with this status. Only Static VA with attribute is_single_use true can have this status.

VA Aggregator Response Codes

Below is the list of response codes for API VA aggregator:

Response Code State Description
000 Final Response success without error
203 Final Request is Rejected (Duplicate partner tx id)
207 Final Request is Rejected (Request IP address is not registered)
208 Final Request is Rejected (API key is not valid)
211 Final Request is Rejected (Bank code is not available for this service)
212 Final Request is Rejected (Given amount are lesser than allowed value for static VA)
213 Final Request is Rejected (Given amount are greater than allowed value for static VA)
214 Final Request is Rejected (Failed to generate static VA)
214 Final Request is Rejected (Amount type is not supported for the requested bank code)
216 Final Request is Rejected (VA id is empty)
217 Final Request is Rejected (VA number is still active for this partner user id)
219 Final Request is Rejected (Virtual account is not enabled for this bank)
219 Final Request is Rejected (Virtual account for this bank has reached daily limit transaction)
226 Final Request is rejected (Transaction expiry time exceeds VA expiry time)
245 Final Request is rejected (Minimum expiry time is 10 minutes for VA CIMB and Permata)
246 Final Request is rejected (Failed update VA)
260 Final Request is rejected (Given VA suffix is invalid)
262 Final Request is rejected (VA prefix for this username is not available)
999 Non-Final Internal Server Error

IMPORTANT! The following response codes mean that your request is not received by OY! and do not represent any information related to your transaction activity/status:

Response Code Description
201 Request is Rejected (User ID is not found)
202 Request is Rejected (User ID is not active)
202 Request is Rejected (Multiple use VA is not allowed for use)
202 Request is Rejected (Custom VA is not allowed for use)
990 Request is Rejected (Invalid Format)

Below is the list of HTTP Status Code for API VA Aggregator:

HTTP Status Code Description
403 Forbidden (IP address is not whitelisted or request is deemed suspicious e.g SQL injection or XSS)
404 Not Found (wrong URL)
429 Request Rejected (Too Many Request to specific endpoint)
500 Internal Server Error (OY! system encountered unknown error)
503 Service Unavailable (OY! system is unable to process the request temporarily)
504 Gateway Timeout (OY! system took too long processing the request and was unable to respond in time)

Fund Acceptance

There are two products that fall under the category of funds acceptance which are Payment Link and Invoicing.

Payment Link product will allow you to receive funds from your customers by choosing from our various payment channels such as bank transfer or cards.

Similarly, Invoicing will let you to bill your customers for service/items purchased by sending a payment link to your customer's email by attatching/creating an invoice via our API.

All payment link and/or details can be monitored by using our dashboard and various API endpoints.

An endpoint to create payment link URL which return parameters by encapsulation.

curl -X POST \
  https://partner.oyindonesia.com/api/payment-checkout/create-v2 \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'X-Api-Key: apikeymu' \
  -H 'X-Oy-Username: yourusername' \
  -d '{
        "partner_tx_id":"partnerTxId",
        "child_balance":"child123",
        "description":"description",
        "notes":"notes",
        "sender_name":"Sender name",
        "amount":50000,
        "email":"johndoe@gmail.com;jane@gmail.com",
        "phone_number":"",
        "is_open":false,
        "include_admin_fee":false,
        "list_disabled_payment_methods":"",
        "list_enabled_banks":"",
        "expiration":"2020-08-08 08:09:12",
        "va_display_name":"Display Name on VA"
    }'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/payment-checkout/create-v2'));
request.body = json.encode({
  "description": "Prod Test API",
  "partner_tx_id": "",
  "child_balance":"child123",
  "notes": "",
  "sender_name": "Mochamad Suryono",
  "amount": 10000,
  "email": "johndoe@gmail.com;jane@gmail.com",
  "phone_number": "085712163208",
  "is_open": true,
  "include_admin_fee": true,
  "list_disabled_payment_methods": "",
  "list_enabled_banks": "002, 008, 009, 013, 022",
  "list_enabled_ewallet": "shopeepay_ewallet",
  "expiration": "2021-06-14 13:00:00"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/payment-checkout/create-v2"
  method := "POST"

  payload := strings.NewReader(`{
    "description": "Prod Test API",
    "partner_tx_id": "",
    "child_balance":"child123",
    "notes": "",
    "sender_name" : "Mochamad Suryono", 
    "amount" : 10000,
    "email": "johndoe@gmail.com;jane@gmail.com",
    "phone_number": "085712163208", 
    "is_open" : true,
    "include_admin_fee" : true,
    "list_disabled_payment_methods": "",
    "list_enabled_banks": "002, 008, 009, 013, 022",
    "list_enabled_ewallet": "shopeepay_ewallet",
    "expiration": "2021-06-14 13:00:00"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"description\": \"Prod Test API\",\n    \"partner_tx_id\": \"\",\n    \"notes\": \"\",\n    \"sender_name\" : \"Mochamad Suryono\", \n    \"amount\" : 10000,\n    \"email\": \"johndoe@gmail.com;jane@gmail.com\",\n    \"phone_number\": \"085712163208\", \n    \"is_open\" : true,\n    \"include_admin_fee\" : true,\n    \"list_disabled_payment_methods\": \"\",\n    \"list_enabled_banks\": \"002, 008, 009, 013, 022\",\n    \"list_enabled_ewallet\": \"shopeepay_ewallet\",\n    \"expiration\": \"2021-06-14 13:00:00\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/payment-checkout/create-v2")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "description": "Prod Test API",
  "partner_tx_id": "",
  "child_balance":"child123",
  "notes": "",
  "sender_name": "Mochamad Suryono",
  "amount": 10000,
  "email": "johndoe@gmail.com;jane@gmail.com",
  "phone_number": "085712163208",
  "is_open": true,
  "include_admin_fee": true,
  "list_disabled_payment_methods": "",
  "list_enabled_banks": "002, 008, 009, 013, 022",
  "list_enabled_ewallet": "shopeepay_ewallet",
  "expiration": "2021-06-14 13:00:00"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/payment-checkout/create-v2");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/payment-checkout/create-v2');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n    "description": "Prod Test API",\n    "partner_tx_id": "",\n    "notes": "",\n    "sender_name" : "Mochamad Suryono", \n    "amount" : 10000,\n    "email": "johndoe@gmail.com;jane@gmail.com",\n    "phone_number": "085712163208", \n    "is_open" : true,\n    "include_admin_fee" : true,\n    "list_disabled_payment_methods": "",\n    "list_enabled_banks": "002, 008, 009, 013, 022",\n    "list_enabled_ewallet": "shopeepay_ewallet",\n    "expiration": "2021-06-14 13:00:00"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "description": "Prod Test API",
  "partner_tx_id": "",
  "child_balance":"child123",
  "notes": "",
  "sender_name": "Mochamad Suryono",
  "amount": 10000,
  "email": "business.support@oyindonesia.com",
  "phone_number": "085712163208",
  "is_open": True,
  "include_admin_fee": True,
  "list_disabled_payment_methods": "",
  "list_enabled_banks": "002, 008, 009, 013, 022",
  "list_enabled_ewallet": "shopeepay_ewallet",
  "expiration": "2021-06-14 13:00:00"
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/payment-checkout/create-v2", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

[Production] POST https://partner.oyindonesia.com/api/payment-checkout/create-v2
[Staging] POST https://api-stg.oyindonesia.com/api/payment-checkout/create-v2

Json Response

{
        "status": true,
        "url": "https://pay.oyindonesia.com/id",
        "message": "success",
        "email_status": "PROCESSED",
        "payment_link_id": "id"
        "child_balance":"child123",
}
Parameters Type Description
X-Api-Key String API Key for establishing connection to this particular endpoint
X-Oy-Username String The registered partner's username with enabled access for payment link product
Parameters Type Required Description Limitation
partner_tx_id String FALSE A unique transaction ID provided by partner. A partner_tx_id that has been succesfully paid cannot be used anymore under the same username and only accepts alphanumerics. If empty then OY will generate automatically.
child_balance String FALSE An optional parameter. Applicable for MAM transaction. Fill this with the username of your child account if you want to create a transaction on behalf of the child (the payment will go to the child account's balance)
description String FALSE Description of the payment link. Only accepts alphabets (A-Z), numeric (0-9) and space as input.
notes String FALSE Notes. Only accepts alphabets (A-Z), numeric (0-9) and space as input.
sender_name String TRUE Name of the payer for a transaction. Only accepts alphabets (A-Z) and space as input and cannot be empty.
amount Integer TRUE The amount of a transaction to be paid. The amount of a transaction to be paid, min. amount is 10000, except if you use unique code BCA which has min. amount 11000 or CARDS which has min. amount 15000
email String FALSE The email addresses where the payment link will be sent to. Up to 3 emails separated by ";"
phone_number Numeric FALSE Phone number of the payer for a transaction. Do not use special character (e.g. "+")
is_open Boolean TRUE Enable open/closed amount transaction method. If is_open = TRUE and the amount parameter is defined, then a payer can pay any amount (greater than IDR 10,000) up to the defined amount. And in the case that is_open=false, then the amount and partner_tx_id parameters must be defined.
include_admin_fee Boolean TRUE Admin fee will be added to the specified amount or amount inputted by user if this parameter is set as TRUE. -
list_disabled_payment_methods String FALSE To configure payment methods to be disabled (e.g. VA, CREDIT_CARD, QRIS, EWALLET, BANK_TRANSFER). When BANK_TRANSFER is included, you are disabling both VA and Unique Code. When CREDIT_CARD is included, you are disabling the ‘cards’ payment method as a whole - which means disabling both credit card and debit card. There must be at least 1 payment method enabled. If this field is not included in the request, or filled with an empty String, then all payment methods will be enabled.
list_enabled_banks String TRUE To configure banks to be enabled for BANK_TRANSFER payment method. List of eligible bank codes: "002" (BRI), "008" (Mandiri), "009" (BNI), "013" (Permata), "022" (CIMB), "213" (BTPN), "213" (BSI), "016" (Maybank), "484" (Hana), "011" (Danamon), and "014" (BCA). Unique code is only available for BCA.
list_enabled_ewallet String TRUE To configure list of e-wallets to be enabled on payment method page. List of eligible e-wallet: "shopeepay_ewallet", "dana_ewallet", "linkaja_ewallet", "ovo_ewallet".
expiration datetime FALSE To set the expiration of the payment link (yyyy-MM-dd HH:mm:ss) Expiration date will be defaulted to 24 hours if it is not defined.
va_display_name String FALSE Optional parameter, name to display on Bank Transfer VA Name Can be omitted. Accepts alphabets (A-Z), numeric (0-9) and space as input.
Parameter Type Description
status Boolean true / false
url String Payment link which used for payment
payment_link_id String A unique transaction ID provided by partner
child_balance String Applicable for MAM transaction. To be filled with the username of child account. If you do not pass the parameter in request, we will not pass this parameter in response.
message String Message response
email_status String email status

API Create (Invoicing)

Our Invoicing product is leveraging most parameters that are defined for our payment link in the above section with some additional parameters that are only applicable for Inovicing product.

curl -X POST \
  https://partner.oyindonesia.com/api/payment-checkout/create-invoice\
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'X-Api-key: apikeymu' \
  -H 'X-Oy-Username: yourusername' \
  -d '{
        "partner_tx_id":"partner tx id",
        "description":"desc invoice",
        "notes":"notes satu",
        "sender_name":"Sender Name API",
        "amount":"30000",
        "email":"",
        "phone_number":"",
        "is_open":"true",
        "include_admin_fee":false,
        "list_disabled_payment_methods":"",
        "list_enabled_banks":"013",
        "expiration":"2020-07-28 19:15:13",
        "due_date":"2020-07-28 18:00:00",
        "partner_user_id":"partner user id", 
        "full_name" : "Raymond",
        "is_va_lifetime": false,
        "attachment": "JVBERi0xLjQNJeLjz9MNCjYgMCBvYmogPDwvTGluZWFyaXplZCAxL0wgNzcxMjMvTyA4L0UgNzI5MDcvTiAxL1QgNzY5NTcvSCBbIDg5NiAyMDNdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgDQp4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zOC03OTdkOGE1MmY3MGM8L3hhcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4YXBNTTpJbnN0YW5jZUlEPnV1aWQ6ODU0ZjczN2MtN2NiYi00ODc3LTljMWQtZDljYmE4NzA1NTk5PC94YXBNTTpJbnN0YW5jZUlEPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+DQplbmRzdHJlYW0NZW5kb2JqDTUgMCBvYmo8PC9DcmVhdGlvbkRhdGUoRDoyMDEwMDMwNDEzMDgwMCswMScwMCcpL0F1dGhvcihtYW5zaGFuZGVuKS9DcmVhdG9yKFBTY3JpcHQ1LmRsbCBWZXJzaW9uIDUuMikvUHJvZHVjZXIoQWNyb2JhdCBEaXN0aWxsZXIgNy4wLjUgXChXaW5kb3dzXCkpL01vZERhdGUoRDoyMDEwMDMwNDEzMDgzNyswMScwMCcpL1RpdGxlKE1pY3Jvc29mdCBXb3JkIC0gVGVzdCBkb2N1bWVudCBXb3JkLmRvYyk+Pg1lbmRvYmoNeHJlZg0KMCA2DQowMDAwMDAwMDAwIDY1NTM1IGYNCjAwMDAwNzI5MDcgMDAwMDAgbg0KMDAwMDA3Mjk0MCAwMDAwMCBuDQowMDAwMDcyOTYzIDAwMDAwIG4NCjAwMDAwNzMwMTMgMDAwMDAgbg0KMDAwMDA3NjcxMSAwMDAwMCBuDQp0cmFpbGVyDQo8PC9TaXplIDY+Pg0Kc3RhcnR4cmVmDQoxMTYNCiUlRU9GDQo=",
        "invoice_items": [
          {
            "item":"item name", 
            "description":"description", 
            "quantity": 10, 
            "date_of_purchase":"2020-09-20", 
            "price_per_item": 33000  
          }
        ]
    }'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/payment-checkout/create-invoice'));
request.body = json.encode({
  "description": "testdesc",
  "notes": "testnote",
  "partner_tx_id": "ab9c",
  "sender_name": "Mochamad Suryono",
  "amount": "15000",
  "email": "business.support@oyindonesia.com",
  "phone_number": "085712163208",
  "is_open": true,
  "include_admin_fee": false,
  "list_disabled_payment_methods": "",
  "list_enabled_banks": "002, 008, 009, 013, 022",
  "expiration": "2021-03-13 00:00:00",
  "due_date": "2021-03-12 12:00:00",
  "partner_user_id": "OYON-CHECKOUT000003",
  "full_name": "Mochamad Suryono",
  "is_va_lifetime": false,
  "attachment": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ5Nj4+c3RyZWFtCnicrZVdb9MwFIbv/SsOd51EwrHjz0tKhxQk2IciJMS4CG46lbVNyYcE/HqcbNloh5xO8U3OUXJ8Hr/2aweBQkQBQRjhnnZLfpJ5RhIJQhjIluQ8I1eEwYfubVeHMFRnW/LmPQWKkK3I7Cz70dU+lfTN/hnE3ChJY9SPA0U3EPvP1S2ZXXx5Bemnzxfpu/OuGcLtfxp+/ebisp+QH8VkrNjhHJ9QaV23xRKyciKIGuCGjYPmv6cq0idKWuRNEYDlV7VoixAgwcdEXeZVsysqyH5BughA88t6uy3bXQNO3XRbCEq9pKr8sw5gPuXT8zGv7/JNCOeh9mAYMoxQRcyEMJ5KRlEmokkI63lVrSgqi8JEWlsV8ZURkRFMR1pILkVuZcJYCEd69V7vY3eZxYj4GvEkGsaMK5SAMTcauYsKje6aObskUsGWaKr7bPOYHUd7/8XIocZlx9H2DfuSh+Qw2AG4GZLDYMlqmLfHEQIS/XyBaOf++5uoqG213jfrcjfVfAYdi/tY0288noxBrpqpvwoh1AjjslrbqUo6j/kpWdnkG7iZpYvrm7MQmyOe045vBhkhDbFFI6gTz6Jvj9zqCd+frz/5MRMvOvyeBUxGRM3bvIHvRZXvmryGu7Jq901ZhTDJqEweC+xlvkTqX6+ILeYKZW5kc3RyZWFtCmVuZG9iagoxIDAgb2J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MTAKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwNTc4IDAwMDAwIG4gCjAwMDAwMDA4NjQgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwOTUyIDAwMDAwIG4gCjAwMDAwMDA4MjkgMDAwMDAgbiAKMDAwMDAwMTAxNSAwMDAwMCBuIAowMDAwMDAxMDY5IDAwMDAwIG4gCjAwMDAwMDExMDEgMDAwMDAgbiAKMDAwMDAwMTIwNCAwMDAwMCBuIAp0cmFpbGVyCjw8L0luZm8gOSAwIFIvSUQgWzwzZWMyMWUyNjkwNjcxYzViYTliNjUxODNhY2IxOTM3ND48NzZhNzM1MWE1YmY4ZmMxNDNmY2NlZmUwYjRjMzA4MWI+XS9Sb290IDggMCBSL1NpemUgMTA+PgpzdGFydHhyZWYKMTM1OAolJUVPRgo=",
  "invoice_items": [
    {
      "item": "McDonald's Big Mac",
      "description": "Oyon Meals",
      "quantity": 3,
      "date_of_purchase": "2021-03-12",
      "price_per_item": 50000
    }
  ]
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}

package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/payment-checkout/create-invoice"
  method := "POST"

  payload := strings.NewReader(`{
    "description": "testdesc",
    "notes": "testnote",
    "partner_tx_id": "ab9c",
    "sender_name" : "Mochamad Suryono", 
    "amount" : "15000",
    "email": "business.support@oyindonesia.com",
    "phone_number": "085712163208", 
    "is_open" : true,
    "include_admin_fee" : false,
    "list_disabled_payment_methods": "",
    "list_enabled_banks": "002, 008, 009, 013, 022",
    "expiration": "2021-03-13 00:00:00",
    "due_date": "2021-03-12 12:00:00",
    "partner_user_id": "OYON-CHECKOUT000003",
    "full_name": "Mochamad Suryono",
    "is_va_lifetime": false,
    "attachment": "JVBERi0xLjQKJeLjz9MKMy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SUQgWzwzZWMyMWUyNjkwNjcxYzViYTliNjUxODNhY2IxOTM3ND48NzZhNzM1MWE1YmY4ZmMxNDNmY2NlZmUwYjRjMzA4MWI+XS9Sb290IDggMCBSL1NpemUgMTA+PgpzdGFydHhyZWYKMTM1OAolJUVPRgo=",
    "invoice_items": [
        {
            "item": "McDonald's Big Mac",
            "description": "Oyon Meals",
            "quantity": 3,
            "date_of_purchase": "2021-03-12",
            "price_per_item": 50000
        }
    ]
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"description\": \"testdesc\",\n    \"notes\": \"testnote\",\n    \"partner_tx_id\": \"ab9c\",\n    \"sender_name\" : \"Mochamad Suryono\", \n    \"amount\" : \"15000\",\n    \"email\": \"business.support@oyindonesia.com\",\n    \"phone_number\": \"085712163208\", \n    \"is_open\" : true,\n      \"include_admin_fee\" : false,\n    \"list_disabled_payment_methods\": \"\",\n    \"list_enabled_banks\": \"002, 008, 009, 013, 022\",\n    \"expiration\": \"2021-03-13 00:00:00\",\n    \"due_date\":\"2021-03-12 12:00:00\",\n    \"partner_user_id\": \"OYON-CHECKOUT000003\",\n    \"full_name\": \"Mochamad Suryono\",\n    \"is_va_lifetime\": false,\n    \"attachment\": \"JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ5Nj4+c3RyZWFtCnicrZVdb9MwFIbv/SsOd51E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zA4MWI+XS9Sb290IDggMCBSL1NpemUgMTA+PgpzdGFydHhyZWYKMTM1OAolJUVPRgo=\",\n    \"invoice_items\": [\n        {\n            \"item\": \"McDonald's Big Mac\",\n            \"description\": \"Oyon Meals\",\n            \"quantity\": 3,\n            \"date_of_purchase\": \"2021-03-12\",\n            \"price_per_item\": 50000\n        }\n    ]\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/payment-checkout/create-invoice")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "description": "testdesc",
  "notes": "testnote",
  "partner_tx_id": "ab9c",
  "sender_name": "Mochamad Suryono",
  "amount": "15000",
  "email": "business.support@oyindonesia.com",
  "phone_number": "085712163208",
  "is_open": true,
  "include_admin_fee": false,
  "list_disabled_payment_methods": "",
  "list_enabled_banks": "002, 008, 009, 013, 022",
  "expiration": "2021-03-13 00:00:00",
  "due_date": "2021-03-12 12:00:00",
  "partner_user_id": "OYON-CHECKOUT000003",
  "full_name": "Mochamad Suryono",
  "is_va_lifetime": false,
  "attachment": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ5Nj4+c3RyZWFtCnicrZVdb9MwFIbv/SsOd51EwrHjz0tKhxQk2IciJMS4CG46lbVNyYcE/HqcbNloh5xO8U3OUXJ8Hr/2aweBQkQBQRjhnnZLfpJ5RhIJQhjIluQ8I1eEwYfubVeHMFRnW/LmPQWKkK3I7Cz70dU+lfTN/hnE3ChJY9SPA0U3EPvP1S2ZXXx5Bemnzxfpu/OuGcLtfxp+/ebisp+QH8VkrNjhHJ9QaV23xRKyciKIGuCGjYPmv6cq0idKWuRNEYDlV7VoixAgwcdEXeZVsysqyH5BughA88t6uy3bXQNO3XRbCEq9pKr8sw5gPuXT8zGv7/JNCOeh9mAYMoxQRcyEM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ago8PC9OYW1lcyA3IDAgUi9UeXBlL0NhdGFsb2cvUGFnZXMgNCAwIFIvVmlld2VyUHJlZmVyZW5jZXM8PC9QcmludFNjYWxpbmcvQXBwRGVmYXVsdD4+Pj4KZW5kb2JqCjkgMCBvYmoKPDwvTW9kRGF0ZShEOjIwMjAwNzI5MTE1MzE1WikvQ3JlYXRvcihKYXNwZXJSZXBvcnRzIExpYnJhcnkgdmVyc2lvbiBudWxsKS9DcmVhdGlvbkRhdGUoRDoyMDIwMDcyOTExNTMxNVopL1Byb2R1Y2VyKGlUZXh0IDIuMS43IGJ5IDFUM1hUKT4+CmVuZG9iagp4cmVmCjAgMTAKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwNTc4IDAwMDAwIG4gCjAwMDAwMDA4NjQgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwOTUyIDAwMDAwIG4gCjAwMDAwMDA4MjkgMDAwMDAgbiAKMDAwMDAwMTAxNSAwMDAwMCBuIAowMDAwMDAxMDY5IDAwMDAwIG4gCjAwMDAwMDExMDEgMDAwMDAgbiAKMDAwMDAwMTIwNCAwMDAwMCBuIAp0cmFpbGVyCjw8L0luZm8gOSAwIFIvSUQgWzwzZWMyMWUyNjkwNjcxYzViYTliNjUxODNhY2IxOTM3ND48NzZhNzM1MWE1YmY4ZmMxNDNmY2NlZmUwYjRjMzA4MWI+XS9Sb290IDggMCBSL1NpemUgMTA+PgpzdGFydHhyZWYKMTM1OAolJUVPRgo=",
  "invoice_items": [
    {
      "item": "McDonald's Big Mac",
      "description": "Oyon Meals",
      "quantity": 3,
      "date_of_purchase": "2021-03-12",
      "price_per_item": 50000
    }
  ]
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/payment-checkout/create-invoice");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/payment-checkout/create-invoice');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n    "description": "testdesc",\n    "notes": "testnote",\n    "partner_tx_id": "ab9c",\n    "sender_name" : "Mochamad Suryono", \n    "amount" : "15000",\n    "email": "business.support@oyindonesia.com",\n    "phone_number": "085712163208", \n    "is_open" : true,\n     "include_admin_fee" : false,\n    "list_disabled_payment_methods": "",\n    "list_enabled_banks": "002, 008, 009, 013, 022",\n    "expiration": "2021-03-13 00:00:00",\n    "due_date": "2021-03-12 12:00:00",\n    "partner_user_id": "OYON-CHECKOUT000003",\n    "full_name": "Mochamad Suryono",\n    "is_va_lifetime": false,\n    "attachment": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ5Nj4+c3RyZWFtCnicrZVdb9MwFIbv/SsOd51EwrHjz0tKhxQk2IciJMS4CG46lbVNyYcE/HqcbNloh5xO8U3OUXJ8Hr/2aweBQkQBQRjhnnZLfpJ5RhIJQhjIluQ8I1eEwYfubVeHMFRnW/LmPQWKkK3I7Cz70dU+lfTN/hnE3ChJY9SPA0U3EPvP1S2ZXXx5Bemnzxfpu/OuGcLtfxp+/ebisp+QH8VkrNjhHJ9QaV23xRKyciKIGuCGjYPmv6cq0idKWuRNEYDlV7VoixAgwcdEXeZVsysqyH5BughA88t6uy3bXQNO3XRbCEq9pKr8sw5gPuXT8zGv7/JNCOeh9mAYMoxQRcyEMJ5KRlEmokkI63lVrSgqi8JEWlsV8ZURkRFMR1pILkVuZcJYCEd69V7vY3eZ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lld2VyUHJlZmVyZW5jZXM8PC9QcmludFNjYWxpbmcvQXBwRGVmYXVsdD4+Pj4KZW5kb2JqCjkgMCBvYmoKPDwvTW9kRGF0ZShEOjIwMjAwNzI5MTE1MzE1WikvQ3JlYXRvcihKYXNwZXJSZXBvcnRzIExpYnJhcnkgdmVyc2lvbiBudWxsKS9DcmVhdGlvbkRhdGUoRDoyMDIwMDcyOTExNTMxNVopL1Byb2R1Y2VyKGlUZXh0IDIuMS43IGJ5IDFUM1hUKT4+CmVuZG9iagp4cmVmCjAgMTAKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwNTc4IDAwMDAwIG4gCjAwMDAwMDA4NjQgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwOTUyIDAwMDAwIG4gCjAwMDAwMDA4MjkgMDAwMDAgbiAKMDAwMDAwMTAxNSAwMDAwMCBuIAowMDAwMDAxMDY5IDAwMDAwIG4gCjAwMDAwMDExMDEgMDAwMDAgbiAKMDAwMDAwMTIwNCAwMDAwMCBuIAp0cmFpbGVyCjw8L0luZm8gOSAwIFIvSUQgWzwzZWMyMWUyNjkwNjcxYzViYTliNjUxODNhY2IxOTM3ND48NzZhNzM1MWE1YmY4ZmMxNDNmY2NlZmUwYjRjMzA4MWI+XS9Sb290IDggMCBSL1NpemUgMTA+PgpzdGFydHhyZWYKMTM1OAolJUVPRgo=",\n    "invoice_items": [\n        {\n            "item": "McDonald\'s Big Mac",\n            "description": "Oyon Meals",\n            "quantity": 3,\n            "date_of_purchase": "2021-03-12",\n            "price_per_item": 50000\n        }\n    ]\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "description": "testdesc",
  "notes": "testnote",
  "partner_tx_id": "ab9c",
  "sender_name": "Mochamad Suryono",
  "amount": "15000",
  "email": "business.support@oyindonesia.com",
  "phone_number": "085712163208",
  "is_open": True,
  "include_admin_fee": False,
  "list_disabled_payment_methods": "",
  "list_enabled_banks": "002, 008, 009, 013, 022",
  "expiration": "2021-03-13 00:00:00",
  "due_date": "2021-03-12 12:00:00",
  "partner_user_id": "OYON-CHECKOUT000003",
  "full_name": "Mochamad Suryono",
  "is_va_lifetime": False,
  "attachment": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ5Nj4+c3RyZWFtCnicrZVdb9MwFIbv/SsOd51EwrHjz0tKhxQk2IciJMS4CG46lbVNyYcE/HqcbNloh5xO8U3OUXJ8Hr/2aweBQkQBQRjhnnZLfpJ5RhIJQhjIluQ8I1eEwYfubVeHMFRnW/LmPQWKkK3I7Cz70dU+lfTN/hnE3ChJY9SPA0U3EPvP1S2ZXXx5Bemnzxfpu/OuGcLtfxp+/ebisp+QH8VkrNjhHJ9QaV23xRKyciKIGuCGjYPmv6cq0idKWuRNEYDlV7VoixAgwcdEXeZVsysqyH5BughA88t6uy3bXQNO3XRbCEq9pKr8sw5gPuXT8zGv7/JNCOeh9mAYMoxQRcyEMJ5KRlEmokkI63lVrSgqi8JEWlsV8ZURkRFMR1pILkVuZcJYCEd69V7vY3eZxYj4GvEkGsaMK5SAMTcauYsKje6aObskUsGWaKr7bPOYHUd7/8XIocZlx9H2DfuSh+Qw2AG4GZLDYMlqmLfHEQIS/XyBaOf++5uoqG213jfrcjfVfAYdi/tY0288noxBrpqpvwoh1AjjslrbqUo6j/kpWdnkG7iZpYvrm7MQmyOe045vBhkhDbFFI6gTz6Jvj9zqCd+frz/5MRMvOvyeBUxGRM3bvIHvRZXvmryGu7Jq901ZhTDJqEweC+xlvkTqX6+ILeYKZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8L1R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MDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwNTc4IDAwMDAwIG4gCjAwMDAwMDA4NjQgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwOTUyIDAwMDAwIG4gCjAwMDAwMDA4MjkgMDAwMDAgbiAKMDAwMDAwMTAxNSAwMDAwMCBuIAowMDAwMDAxMDY5IDAwMDAwIG4gCjAwMDAwMDExMDEgMDAwMDAgbiAKMDAwMDAwMTIwNCAwMDAwMCBuIAp0cmFpbGVyCjw8L0luZm8gOSAwIFIvSUQgWzwzZWMyMWUyNjkwNjcxYzViYTliNjUxODNhY2IxOTM3ND48NzZhNzM1MWE1YmY4ZmMxNDNmY2NlZmUwYjRjMzA4MWI+XS9Sb290IDggMCBSL1NpemUgMTA+PgpzdGFydHhyZWYKMTM1OAolJUVPRgo=",
  "invoice_items": [
    {
      "item": "McDonald's Big Mac",
      "description": "Oyon Meals",
      "quantity": 3,
      "date_of_purchase": "2021-03-12",
      "price_per_item": 50000
    }
  ]
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/payment-checkout/create-invoice", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/payment-checkout/create-invoice
[Staging] POST https://api-stg.oyindonesia.com/api/payment-checkout/create-invoice

Json Response

{
        "status": true,
        "url": "https://pay.oyindonesia.com/invoice/id",
        "message": "success",
        "email_status": "PROCESSED",
        "payment_link_id": "id"
}

Request Headers

Parameters Type Description
X-Api-Key String API Key for establishing connection to this particular endpoint
X-Oy-Username String The registered partner's username with enabled access for payment link product

Request Parameters

Parameters Type Description Limitation
partner_tx_id String A unique transaction ID provided by partner. A partner_tx_id that has been succesfully paid cannot be used anymore under the same username and only accepts alphanumerics. If empty then OY will generate automatically.
description String Description of the payment link. Only accepts alphabets (A-Z), numeric (0-9) and space as input.
notes String Notes. Only accepts alphabets (A-Z), numeric (0-9) and space as input.
sender_name String Name of the payer for a transaction. Only accepts alphabets (A-Z) and space as input and cannot be empty.
amount Integer The amount of a transaction to be paid. The amount of a transaction to be paid, min. amount is 10000, except if you use unique code BCA which has min. amount 11000 or CARDS which has min. amount 15000
email String The email address where the payment link will be sent to. Up to 3 emails separated by ";"
phone_number Numeric Phone number of the payer for a transaction. Do not use special character (e.g. "+").
is_open Boolean Enable open/closed amount transaction method. If is_open = TRUE and the amount parameter is defined, then a payer can pay any amount (greater than IDR 10,000) up to the defined amount. And in the case that is_open=false, then the amount and partner_tx_id parameters must be defined.
include_admin_fee Boolean Admin fee will be added to the specified amount or amount inputted by user if this parameter is set as TRUE. -
list_disabled_payment_methods String To configure payment methods to be disabled (e.g. VA, CREDIT_CARD, QRIS, EWALLET, BANK_TRANSFER). When BANK_TRANSFER is included, you are disabling both VA and Unique Code. When CREDIT_CARD is included, you are disabling the ‘cards’ payment method as a whole - which means disabling both credit card and debit card. There must be at least 1 payment method is enabled.
list_enabled_banks String To configure banks to be enabled for VA payment method. List of eligible bank codes: "002" (BRI), "008" (Mandiri), "009" (BNI), "013" (Permata), "022" (CIMB), "213" (BTPN), "213" (BSI), "016" (Maybank), "484" (Hana), "011" (Danamon), and "014" (BCA).
expiration datetime To set the expiration of the payment link (yyyy-MM-dd HH:mm:ss) -
due_date datetime To set the transaction due date of the payment (yyyy-MM-dd HH:mm:ss) Transaction due date should equal or before expiration. As default, transaction due date will be same as expiration if it is not defined.
partner_user_id String Username assigned to the customer by partner. -
full_name String The customer's full name. -
is_va_lifetime Boolean To enable VA static confirugation for a payment . If this is set as true and the partner_user_id is already associated to specific VAs, then the same VA numbers will be used for this partner_tx_id instead of generating new VA number. Partner_user_id and VA payment method must be specified to use this parameter.
invoice_items List List of items to be invoiced that can be generated via API in the following format: [item, description, quantity, date_of_purchase, price_per_item ] -
attachment - Upload attachment (string base 64 pdf) and can be downloaded via the webview There is a maximum limit of 1 PDF attachment (maximum 2 MB) to be uploaded per URL

Response Parameters

Parameter Type Description
status Boolean true / false
url String Payment link which used for payment
message String Message response
payment_link_id String A unique payment link transaction ID
email_status String email status

API Create (Recurring Invoice) (Coming soon)

This endpoint is to enable the capability to send recurring invoice with the same invoice configuration (e.g. payment method, amount, attachment) via email.

curl -X POST \
  https://partner.oyindonesia.com/api/TBD\
  -H 'cache-control: no-cache' \ 
  -H 'content-type: application/json' \
  -H 'x-api-key: apikeymu' \
  -H 'x-oy-username: yourusername' \
  -d '{
        "username":"testaccount",
        "partner_tx_id":"ABC123456527",
        "sender_name":"Roberto F",
        "sender_note":"bill payment",
        "sender_phone": "082114845847", 
        "amount":75000,
        "is_open":false,
        "list_disabled_payment_methods":"CREDIT_CARD",
        "list_enabled_payment_banks": "008", 
        "included_admin_fee": true, 
        "expiration": 7,
        "description":"payment for March 2020", 
        "partner_user_id": "merchant A", 
        "is_va_lifetime" : true , 
        "email" : "johndoe@gmail.com;jane@gmail.com",
        "recurring_start_date" : "10/11/2020", 
        "recurring_end_date": "10/11/2021", 
        "recurring_frequency": 30
    }'

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/TBD
[Staging] POST https://api-stg.oyindonesia.com/api/TBD

Json Response

{
        "status": true,
        "url": "https://pay.oyindonesia.com/v2?98999987uydfuiwk73636hehnrm",
        "email_status" : "delivered"
}

Request Parameters

*Note: all parameters from API Create (Payment Link and Invoicing) are still applicable. Below is the list of the additional specific parameters for Recurring Invoice feature.

Parameters Type Description
recurring_start_date String Defining the date when the first invoice will be sent.
recurring_end_date String Username assigned to the customer by partner.
recurring_frequency Integer The interval of a recurring invoice to be sent to customers (in days).

The data on the callback will be sent using JSON format via POST data to your web hook.

curl -X POST \
  https://partner.url.com/api/callback\
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -d '{
        "partner_tx_id":"938bca2f-7771-47a1-9315-13507cf7bba3",
        "amount":60000,
        "sender_phone":"082114845847",
        "sender_note":"sender notes",
        "created":"2020-09-29T20:57:41",
        "tx_ref_number":"20097G1X2329",
        "sender_name":"Sender Name",
        "is_invoice":false,
        "updated":"2020-09-29T20:59:08",
        "payment_method":"VA",
        "status":"complete",
        "sender_bank":"008",
        "settlement_type":"non_realtime",
        "description":"description",
        "payment_reference_number": "",
        "expiration":"2020-10-18T15:00:00",
        "due_date": "2020-10-18T14:00:00",
        "email":"johndoe@gmail.com;jane@gmail.com",
        "paid_amount": 70000,
        "settlement_time": "2020-09-30T15:00:00",
        "settlement_status": "WAITING"
      }'

Parameter Type Description
partner_tx_id String A unique transaction ID provided by partner
child_balance String Applicable for MAM transaction. To be filled with the username of child account. If you do not pass the parameter in request, we will not pass this parameter in Callback
tx_ref_number String OY's internal unique transaction ID
amount BigDecimal The amount of a transaction that is paid
sender_name String Name of a payer for a transaction
sender_phone String Phone number of a payer for a transaction
sender_note String Additional notes from a payer for a transaction
status String The status of a transaction (e.g. success/failed/processing)
sender_bank String The bank code used by a payer to do payment
payment_method String The payment method used by user to complete a payment.
settlement_type String Indicate if a transaction will be settled in realtime/non-realtime
created DateTime The timestamp which indicates the creation time of a payment link
updated DateTime The timestamp which indicates the latest updated time of a payment link due to status update
payment_received_time DateTime Indicates the time when payment routing is marked as COMPLETE (this parameter will only be sent once status of the payment link is set to ‘COMPLETE’).
is_invoice Boolean The invoice which indicates the transaction is invoice or not
description String The description of the payment link/invoice link.
payment_reference_number String Identifier of a payment attempt when the end user successfully completes the payment. The reference number is also stated in the end user’s receipt/proof of transaction. Note that if a QRIS transaction is paid using OVO, the payment reference number is only the first 12 characters from the given transaction code. Available for: QRIS
expiration DateTime The expiration time of the payment link/invoice link
due_date DateTime The transaction due date of the payment link/invoice
email String The email addresses for the payment link/invoice link to be sent. You can add up to 3 emails separated by ";"
paid_amount BigDecimal The total amount that a user has paid
settlement_time DateTime The timestamp (in UTC+7) indicating when the fund will be settled to partner’s account statement
settlement_status String Status of the settlement (e.g. success/waiting)

Additional data on the callback if invoice = true

Parameter Type Description
invoice_ID String The invoice id.
full_name String The full name.
Payment Status Type Description
created String Status that will be returned when the payment link is first created and user has not selected a payment method
waiting_payment String Status that indicates that the user has selected a payment method
expired String The payment link has expired
charge_in_progress String Payment currently in processed
failed String OTP for card payment method has been succesfully entered but payment is rejected or the selected payment channel has expired (but the link is still not yet expired)
complete String Transaction has been succesfully completed
closed String Payment link has been deleted

API Payment Status

An endpoint to retrieve and/or re-send the latest callback status of a transaction. We can also provide a static IP for the callback to ensure the callback sent is from OY that can be whitelisted by partners.

Please contact us to submit a request of an API Key and IP whitelisting.

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/payment-checkout/status
[Staging] GET https://api-stg.oyindonesia.com/api/payment-checkout/status

To retrieve a callback result for a particular transaction, use following code from your platform:

curl -X GET \
  'https://partner.oyindonesia.com/api/payment-checkout/status?partner_tx_id=OY123456&send_callback=false' \
  -H 'x-oy-username:yourusername' \
  -H 'x-api-key:yourapikey'
var headers = {
  'Content-Type': 'application/json'
};
var request = http.Request('GET', Uri.parse('https://partner.oyindonesia.com/api/payment-checkout/status?partner_tx_id=abc6&send_callback=false'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/payment-checkout/status?partner_tx_id=abc6&send_callback=false"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/payment-checkout/status?partner_tx_id=abc6&send_callback=false")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://partner.oyindonesia.com/api/payment-checkout/status?partner_tx_id=abc6&send_callback=false");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/payment-checkout/status?partner_tx_id=abc6&send_callback=false');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = ''
headers = {
  'Content-Type': 'application/json'
}
conn.request("GET", "/api/payment-checkout/status?partner_tx_id=abc6&send_callback=false", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "partner_tx_id": "partner000001",
  "tx_ref_number": "1234567",
  "child_balance": "child123",
  "amount": 15000,
  "sender_name": "Budi",
  "sender_phone": "+6281111111",
  "sender_note": "Mohon dikirim segera",
  "status": "success",
  "settlement_type": "realtime",
  "sender_bank": "008",
  "payment_method": "CC",
  "created": "2021-01-12T16:25:33",
  "description": "",
  "payment_reference_number": "",
  "paid_amount": 100000,
  "expiration": "2021-01-13T16:25:14",
  "due_date": "2021-01-13T15:00:00",
  "is_invoice": false,
  "updated": "2021-01-12T16:26:17",
  "email": "johndoe@gmail.com;jane@gmail.com",
  "settlement_time": "2021-01-13T15:00:00",
  "settlement_status": "WAITING"
}

Request Headers

Parameters Type Description
x-api-key String API Key for establishing connection to this particular endpoint
X-Oy-Username String The registered partner's username with enabled access for payment link product

Request Parameters

Parameters Type Description
partner_tx_id String A unique transaction ID which callback status to be checked
payment_reference_number String A unique reference ID only for QRIS transactions. Used to identify which callback status to be checked. The reference number is stated in the end user’s receipt/proof of transaction. Note that if a QRIS transaction is paid using OVO, the payment reference number is only the first 12 characters from the given transaction code
send_callback Boolean A flag to indiciate if the latest callback of a transaction need to be re-sent or not

Response Parameters

Parameter Type Description
partner_tx_id String A unique transaction ID provided by partner
child_balance String Applicable for MAM transaction. To be filled with the username of child account. If you do not pass the parameter in request Create Payment Link, we will not pass this parameter in the response
tx_ref_number String OY's internal unique transaction ID
amount BigDecimal The amount of a transaction that is paid
sender_name String Name of a payer for a transaction
sender_phone String Phone number of a payer for a transaction
sender_note String Additional notes from a payer for a transaction
status String The status of a payment link
payment_received_time String Indicates the time when payment routing is marked as COMPLETE (this parameter will only be sent once status of the payment link is set to ‘COMPLETE’).
settlement_type String Indicate if a transaction will be settled in realtime/non-realtime
sender_bank String The bank code used by a payer to do payment
payment_method String The payment method used in a transaction. Choices are: CC (Cards), QRIS, EWALLET (shopeepay_ewallet, dana_ewallet, linkaja_ewallet, ovo_ewallet), VA (Virtual Account), or BANK_TRANSFER (Unique Code)
created String The timestamp which indicates the creation time of a payment link
description String Description of the payment link.
payment_reference_number String Identifier of a payment attempt when the end user successfully completes the payment. The reference number is also stated in the end user’s receipt/proof of transaction. Note that if a QRIS transaction is paid using OVO, the payment reference number is only the first 12 characters from the given transaction code. Available for: QRIS
paid_amount BigDecimal the total amount that a user has paid.
expiration String To set the expiration of the payment link (yyyy-MM-dd HH:mm:ss)
due_date String To set the transaction due date of the payment (yyyy-MM-dd HH:mm:ss)
is_invoice Boolean The invoice which indicates the transaction is invoice or not.
updated String The timestamp which indicates the latest updated time of a payment link due to status update
email String The email addresses where the payment link will be sent to. You can add up to 3 emails separated by ";"
settlement_time String The timestamp (in UTC+7) indicating when the fund will be settled to partner’s account statement (this parameter will only be sent once status of the payment link is set to ‘COMPLETE’)
settlement_status String The status of the settlement (this parameter will only be sent once status of the payment link is set to ‘COMPLETE’)

API Delete

An endpoint to Delete Payment / Invoice Link based on payment_link_id or partner_tx_id that is still active and a payment method has not been selected.

curl -X DELETE \
  https://partner.oyindonesia.com/api/payment-checkout/{payment_link_id_or_partner_tx_id}\
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'X-Api-key: apikeymu' \
  -H 'X-Oy-Username: yourusername' 
var headers = {
  'Content-Type': 'application/json'
};
var request = http.Request('DELETE', Uri.parse('https://partner.oyindonesia.com/api/payment-checkout/4fce3338-e2b7-400d-98d1-f117c0e0fcb4'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/payment-checkout/4fce3338-e2b7-400d-98d1-f117c0e0fcb4"
  method := "DELETE"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/payment-checkout/4fce3338-e2b7-400d-98d1-f117c0e0fcb4")
  .method("DELETE", body)
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://partner.oyindonesia.com/api/payment-checkout/4fce3338-e2b7-400d-98d1-f117c0e0fcb4");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/payment-checkout/4fce3338-e2b7-400d-98d1-f117c0e0fcb4');
$request->setMethod(HTTP_Request2::METHOD_DELETE);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = ''
headers = {
  'Content-Type': 'application/json'
}
conn.request("DELETE", "/api/payment-checkout/4fce3338-e2b7-400d-98d1-f117c0e0fcb4", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

HTTPS Request

[Production] DELETE https://partner.oyindonesia.com/api/payment-checkout/{payment_link_id_or_partner_tx_id}
[Staging] DELETE https://api-stg.oyindonesia.com/api/payment-checkout/{payment_link_id_or_partner_tx_id}

The above command returns JSON structured similar like this:

{
  "status" : true,
  "message" : "success delete payment checkout data"
}

Request Parameters

Parameters Type Description
payment_link_id_or_partner_tx_id String payment_link_id or partner_tx_id in url param

Response Parameters

Parameters Type Description
status Boolean TRUE if delete is successful and FALSE otherwise
message String Return message
child_balance String Applicable for MAM transaction. To be filled with the username of child account. If you do not pass the parameter in request, we will not pass this parameter in Callback

Return Message

Reason Message
Successful Deletion Payment link has been deleted
Data Not Found The payment_link_id or partner_trx_id cannot be found in our system
Invalid Payment Link Id The payment_link_id or partner_trx_id is null or invalid
Username Not Found Username is not found
Invalid IP Address Invalid IP Address
Invalid API Key Invalid API Key
Restricted Access User does not have access to delete the payment link
Invalid Payment Status Cannot delete payment link status other than CREATED/INITIATIED

API Get

An endpoint to get a payment/invoice data.

curl -X GET \
  https://partner.oyindonesia.com/api/payment-checkout/{payment_link_id_or_partner_tx_id}\
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'X-Api-key: apikeymu' \
  -H 'X-Oy-Username: yourusername'
var headers = {
  'Content-Type': 'application/json'
};
var request = http.Request('GET', Uri.parse('https://partner.oyindonesia.com/api/payment-checkout/aa2d30f7-6e45-464b-bd4f-7e042f7e114b'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/payment-checkout/aa2d30f7-6e45-464b-bd4f-7e042f7e114b"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/payment-checkout/aa2d30f7-6e45-464b-bd4f-7e042f7e114b")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://partner.oyindonesia.com/api/payment-checkout/aa2d30f7-6e45-464b-bd4f-7e042f7e114b");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/payment-checkout/aa2d30f7-6e45-464b-bd4f-7e042f7e114b');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = ''
headers = {
  'Content-Type': 'application/json'
}
conn.request("GET", "/api/payment-checkout/aa2d30f7-6e45-464b-bd4f-7e042f7e114b", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/payment-checkout/{payment_link_id_or_partner_tx_id}
[Staging] GET https://api-stg.oyindonesia.com/api/payment-checkout/{payment_link_id_or_partner_tx_id}

The above command returns JSON structured similar like this:

{
    "data": {
        "partnerTxId": "abc10",
        "child_balance":"child123",
        "paymentLinkId": "703e05c0-48e3-47bd-9c22-670941d4d5fe",
        "amount": 15000,
        "username": "justkhals",
        "senderName": "John Doe",
        "senderPhoneNumber": null,
        "senderNotes": null,
        "status": "CREATED",
        "txRefNumber": null,
        "description": "testdesc",
        "isOpen": true,
        "notes": "testnote",
        "phoneNumber": "085248395555",
        "email": "maskalgrr@gmail.com",
        "includeAdminFee": false,
        "listDisabledPaymentMethods": "",
        "listEnabledBanks": "008",
        "expirationTime": "2020-08-12 00:00:00",
        "due_date": "2020-08-11 12:00:00",
        "invoiceData": {
            "fullName": "John Dooe",
            "isVaLifetime": false,
            "isScheduled": false,
            "recurringStartDate": null,
            "recurringEndDate": null,
            "recurringFrequency": null,
            "invoiceItems": "[{\"item\": \"Semen Gresik\", \"quantity\": 2000, \"description\": \"Grade B\", \"price_per_item\": 2250000, \"date_of_purchase\": 1590969600000}]"
        }
    },
    "message": "return payment checkout data",
    "status": true
}

Request Parameters

Parameters Type Description
payment_link_id_or_partner_tx_id String payment_link_id or partner_tx_id in url param

Payment Response Parameters

Parameters Type Description Example Value
partnerTxId String Payment Partner Tx Id abc123
child_balance String Applicable for MAM transaction. To be filled with the username of child account. If you do not pass the parameter in request, we will not pass this parameter in Callback child123
paymentLinkId String Payment Link Id 35281815-4784-4f55-9a61-090f5c17a191
amount Integer Payment Amount 30000
username String Partner Username johndoe
senderName String Payment Sender Name Budi
senderPhoneNumber String Payment Sender Phone Number 081234567890
senderNotes String Payment Notes / Subject Cicilan Mobil - 5
status String Payment Status COMPLETE
txRefNumber String Payment Transaction Reference Number GTY67JJU
description String Payment Description Tagihan Cicilan Mobil
isOpen Boolean Payment Editable Amount Capability true
notes String Payment Notes / Subject Cicilan Mobil - 5
email String Payment Sender Email(s).You can add up to 3 emails separated by ";" johndoe@gmail.com;jane@gmail.com
senderPhoneNumber String Payment Sender Phone Number 081234567890
includeAdminFee Boolean Admin fee bills destination between partner or user true
listDisabledPaymentMethods String List Of Disable Payment Method.
listEnabledBanks String Payment Method List Enable Bank for VA or Unique Code Payment Method 002,008
expirationTime String Payment Expiration Date and Time "2020-08-12 00:00:00"
due_date String Transaction Due Date "2020-08-11 12:00:00"
invoiceData Invoice Data For Invoice Payment will be null CREDIT_CARD)**

Invoice Response Parameters

Parameters Type Description Example Value
fullName String Invoice Payer Name John Doe
isVaLifetime String Invoice static VA status true
isScheduled Boolean Invoice Scheduled status true
invoiceItems String JSON Invoice Item List JSON "[{\"item\": \"Semen Gresik\", \"quantity\": 2000, \"description\": \"Grade B\", \"price_per_item\": 2250000, \"date_of_purchase\": 1590969600000}]"

Failed Response Parameters

Parameters Type Description
status Boolean Return FALSE if data is not found
message String Return message

Failed Return Message

Reason Message
Data Not Found The payment_link_id or partner_trx_id cannot be found in our system
Invalid Payment Link Id The payment_link_id or partner_trx_id is null or invalid
Username Not Found Username is not found
Invalid IP Address Invalid IP Address
Invalid API Key Invalid API Key
Restricted Access User does not have access to the payment link

Pop!: Seamless Payment Experience

With Pop!, displaying our payment link page on your front-end web environment is now made easier than ever. Our payment link offers a seamless user experience in a way that can be catered to your UI needs.

This section covers a demonstration and a snippet code on how to display a payment link page in 4 styles/locations: Center, Right, Left, and Slide Right.

Pop! - Center

import React from 'react';
import classNames from 'classnames';
import styles from './paycheckout_popup.module.css';

function PaycheckoutPopUp({
  position = "center",
  show,
  onClose,
  paymentLinkId,
}) {

  return (
    <div>
      {/* The Modal container*/}

        {/* Modal content */}

          <iframe 
            width="400"
            height="800"
            src={`https://pay-dev.oyindonesia.com/${paymentLinkId}`}
            title="OY! Indonesia Payment Link">
          </iframe>

          {/* Trigger/Close The Modal */}
    </div>
  );
}

Pop! - Left

import React from 'react';
import classNames from 'classnames';
import styles from './paycheckout_popup.module.css';

function PaycheckoutPopUp({
  position = "left",
  show,
  onClose,
  paymentLinkId,
}) {

  return (
    <div>
      {/* The Modal container*/}

        {/* Modal content */}

          <iframe 
            width="400"
            height="800"
            src={`https://pay-dev.oyindonesia.com/${paymentLinkId}`}
            title="OY! Indonesia Payment Link">
          </iframe>

          {/* Trigger/Close The Modal */}
    </div>
  );
}

Pop! - Right

import React from 'react';
import classNames from 'classnames';
import styles from './paycheckout_popup.module.css';

function PaycheckoutPopUp({
  position = "right",
  show,
  onClose,
  paymentLinkId,
}) {

  return (
    <div>
      {/* The Modal container*/}

        {/* Modal content */}

          <iframe 
            width="400"
            height="800"
            src={`https://pay-dev.oyindonesia.com/${paymentLinkId}`}
            title="OY! Indonesia Payment Link">
          </iframe>

          {/* Trigger/Close The Modal */}
    </div>
  );
}

Pop! - Slide Right

import React from 'react';
import styles from './paycheckout_slide.module.css';

function PaycheckoutSlide({
    show, 
    onClose,
    paymentLinkId,
  }) {

  return (
    <div>
      {/* The Modal container*/}
        {/* Modal content */}
          <iframe 
            width="400"
            src={`https://pay-dev.oyindonesia.com/${paymentLinkId}`}
            title="OY! Indonesia Payment Link">
          </iframe>
    </div>
  );
}

Fund Acceptance Response Codes

Below is the list of HTTP Status Code for API Fund Acceptance:

HTTP Status Code Description
200 Response success without error
403 Forbidden (IP address is not whitelisted or request is deemed suspicious e.g SQL injection or XSS)
404 Not Found (wrong URL)
429 Request Rejected (Too Many Request to specific endpoint)
500 Internal Server Error (OY! system encountered unknown error)
503 Service Unavailable (OY! system is unable to process the request temporarily)
504 Gateway Timeout (OY! system took too long processing the request and was unable to respond in time)

API Account Receivable

API Account Receivable is the newest feature that allows Partners to manage customers and account receivable invoices via API. The differences between API Account Receivable API and API Invoicing is in the customer management ability. By utilizing API Account Receivable, Partners do not need to maintain manual data of the customers anymore when inputting invoice.

Create New Customer

This endpoint enables the creation of new customers via API. Addition of new customer can also be done via dashboard at your convenience.

curl --location --request POST 'https://partner.oyindonesia.com/api/account-receivable/customers' \
--header 'x-oy-username: username' \
--header 'x-api-key: api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Acumen Metros",
    "partner_customer_id": "customer_id",
    "tax_type": "PPN_10_INCLUSIVE",
    "address": "address",
    "email": "email@address.com",
    "pic_name": "Pic name",
    "phone_number": "08123456789",
    "pph_tax":"PPH_23_NON_NPWP"
}'
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/customers'));
request.body = json.encode({
  "name": "Acumen Metros",
  "partner_customer_id": "customer_id",
  "tax_type": "PPN_10_INCLUSIVE",
  "address": "address",
  "email": "email@address.com",
  "pic_name": "Pic Name",
  "phone_number": "0812345678",
  "pph_tax": "PPH_23_NON_NPWP"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}

package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/customers"
  method := "POST"

  payload := strings.NewReader(`{
    "name": "Acumen Metros",
    "partner_customer_id": "customer_id",
    "tax_type": "PPN_10_INCLUSIVE",
    "address": "address",
    "email": "email@address.com",
    "pic_name": "Pic Name",
    "phone_number": "0812345678",
    "pph_tax":"PPH_23_NON_NPWP"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
  MediaType mediaType = MediaType.parse("application/json");
  RequestBody body = RequestBody.create(mediaType, "{\n    \"name\": \"Acumen Metros\",\n    \"partner_customer_id\": \"customer_id\",\n    \"tax_type\": \"PPN_10_INCLUSIVE\",\n    \"address\": \"address\",\n    \"email\": \"email@address.com\",\n    \"pic_name\": \"Pic Name\",\n    \"phone_number\": \"0812345678\",\n    \"pph_tax\":\"PPH_23_NON_NPWP\"\n}");
  Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/customers")
  .method("POST", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .addHeader("Content-Type", "application/json")
  .build();
  Response response = client.newCall(request).execute();
// WARNING: For POST requests, body is set to null by browsers.
var data = JSON.stringify({
  "name": "Acumen Metros",
  "partner_customer_id": "customer_id",
  "tax_type": "PPN_10_INCLUSIVE",
  "address": "address",
  "email": "email@address.com",
  "pic_name": "Pic Name",
  "phone_number": "0812345678",
  "pph_tax": "PPH_23_NON_NPWP"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://partner.oyindonesia.com/api/account-receivable/customers");
xhr.setRequestHeader("x-oy-username", "username");
xhr.setRequestHeader("x-api-key", "api_key");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/customers');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "name": "Acumen Metros",\n    "partner_customer_id": "customer_id",\n    "tax_type": "PPN_10_INCLUSIVE",\n    "address": "address",\n    "email": "email@address.com",\n    "pic_name": "Pic Name",\n    "phone_number": "0812345678",\n    "pph_tax":"PPH_23_NON_NPWP"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = json.dumps({
  "name": "Acumen Metros",
  "partner_customer_id": "customer_id",
  "tax_type": "PPN_10_INCLUSIVE",
  "address": "address",
  "email": "email@address.com",
  "pic_name": "Pic Name",
  "phone_number": "0812345678",
  "pph_tax": "PPH_23_NON_NPWP"
})
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/account-receivable/customers", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "data": {
    "id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
    "status": "ACTIVE",
    "partner_customer_id": "customer_id",
    "name": "Acumen Metros",
    "pic_name": "Pic Name",
    "phone_number": "0812345678",
    "tax_type": "PPN_10_INCLUSIVE",
    "pph_tax": "PPH_23_NON_NPWP",
    "email": "email@address.com",
    "address": "address",
    "total_piutang": null,
    "can_be_deactivated": false
  },
  "error": null,
  "status": true,
  "reason": null,
  "status_code": 200
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/account-receivable/customers
[Staging] POST https://api-stg.oyindonesia.com/api/account-receivable/customers

Request Headers

Parameters Type Description
X-Api-Key String API Key for establishing connection to this particular endpoint
X-Oy-Username String The registered partner username which access is enabled for payment link product

Request Parameters

Parameters Type Required Description
name String TRUE Name of a payer / customer for a transaction
partner_customer_id String FALSE A unique customer ID
tax_type NO_TAX / PPN_11_INCLUSIVE / PPN_11_EXCLUSIVE / PPN_10_INCLUSIVE / PPN_10_EXCLUSIVE TRUE PPN Tax type that is applicable for the customer will be reflected in the invoice
address String FALSE Customer's address
email String FALSE The email address where the payment link will be sent to. Max up to 6 email separated by ;
pic_name String FALSE Name of the person in charge for handling the invoice
phone_number String FALSE Phone number of the customer for a transaction. Do not use special character (e.g. +).
pph_tax NO_TAX/ PPH_23_NON_NPWP / PPH_23_NPWP TRUE PPH Tax type that is applicable for the customer will be reflected in the invoice

Response Parameters

Parameters Type Description
success Boolean To determine result of endpoint
error Object Specific code for cause of error and error message
data Object Status of response in Object {id: , partner_customer_id: , status: , name: , tax_type: , address:
, email: , pic_name: , phone_number: , pph_tax: }
id String customer primary id
partner_customer_id String Inputted customer id name
status ACTIVE Customer's status, first creation always active.
name String Name of a customer for a transaction
tax_type NO_TAX Result of choosen enum tax type
address String Inputted customer's address
email String Inputted customer's email
pic_name String Inputted PIC name
phone_number String Inputted customer's phone number
pph_tax PPH_23_NON_NPWP Result of choosen enum
reason String Reserved field to add additional notes for the response
status_code Integer Response Status code

Edit Customer

This endpoint allows update of customer’s data, such as tax information or even deactivation of customer.

curl --location --request PUT 'https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15' \
--header 'x-oy-username: username' \
--header 'x-api-key: api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Acumen Metros",
    "partner_customer_id": "customer_id",
    "tax_type": "NO_TAX",
    "address": "",
    "email": "new_email@address.com",
    "pic_name": 123,
    "phone_number": "082143207721",
    "pph_tax": "PPH_23_NON_NPWP",
    "status": "ACTIVE"
}'
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
};
var request = http.Request('PUT', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15'));
request.body = json.encode({
  "name": "Acumen Metros",
  "partner_customer_id": "customer_id",
  "tax_type": "NO_TAX",
  "address": "",
  "email": "new_email@address.com",
  "pic_name": 123,
  "phone_number": "082143207721",
  "pph_tax": "PPH_23_NON_NPWP",
  "status": "ACTIVE"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15"
  method := "PUT"

  payload := strings.NewReader(`{
    "name": "Acumen Metros",
    "partner_customer_id": "customer_id",
    "tax_type": "NO_TAX",
    "address": "",
    "email": "new_email@address.com",
    "pic_name": 123,
    "phone_number": "082143207721",
    "pph_tax": "PPH_23_NON_NPWP",
    "status": "ACTIVE"
}

`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
  MediaType mediaType = MediaType.parse("application/json");
  RequestBody body = RequestBody.create(mediaType, "{\n    \"name\": \"Acumen Metros\",\n    \"partner_customer_id\": \"customer_id\",\n    \"tax_type\": \"NO_TAX\",\n    \"address\": \"\",\n    \"email\": \"new_email@address.com\",\n    \"pic_name\": 123,\n    \"phone_number\": \"082143207721\",\n    \"pph_tax\": \"PPH_23_NON_NPWP\",\n    \"status\": \"ACTIVE\"\n}\n\n");
  Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15")
  .method("PUT", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .addHeader("Content-Type", "application/json")
  .build();
  Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "name": "Acumen Metros",
  "partner_customer_id": "customer_id",
  "tax_type": "NO_TAX",
  "address": "",
  "email": "new_email@address.com",
  "pic_name": 123,
  "phone_number": "082143207721",
  "pph_tax": "PPH_23_NON_NPWP",
  "status": "ACTIVE"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("PUT", "https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15");
xhr.setRequestHeader("x-oy-username", "username");
xhr.setRequestHeader("x-api-key", "api_key");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15');
$request->setMethod(HTTP_Request2::METHOD_PUT);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "name": "Acumen Metros",\n    "partner_customer_id": "customer_id",\n    "tax_type": "NO_TAX",\n    "address": "",\n    "email": "new_email@address.com",\n    "pic_name": 123,\n    "phone_number": "082143207721",\n    "pph_tax": "PPH_23_NON_NPWP",\n    "status": "ACTIVE"\n}\n\n');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = json.dumps({
  "name": "Acumen Metros",
  "partner_customer_id": "customer_id",
  "tax_type": "NO_TAX",
  "address": "",
  "email": "new_email@address.com",
  "pic_name": 123,
  "phone_number": "082143207721",
  "pph_tax": "PPH_23_NON_NPWP",
  "status": "ACTIVE"
})
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
}
conn.request("PUT", "/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "data": {
    "id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
    "status": "ACTIVE",
    "partner_customer_id": "customer_id",
    "name": "Acumen Metros",
    "pic_name": null,
    "phone_number": "082143207721",
    "tax_type": "NO_TAX",
    "pph_tax": "PPH_23_NON_NPWP",
    "email": "new_email@address.com",
    "address": "",
    "total_piutang": null,
    "can_be_deactivated": false
  },
  "error": null,
  "status": true,
  "reason": null,
  "status_code": 200
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/account-receivable/customers/:id
[Staging] POST https://api-stg.oyindonesia.com/api/account-receivable/customers/:id

Request Parameters

Parameters Type Required Description
name String TRUE Name of a customer for a transaction
partner_customer_id String FALSE A unique customer ID
tax_type NO_TAX / PPN_11_INCLUSIVE / PPN_11_EXCLUSIVE / PPN_10_INCLUSIVE / PPN_10_EXCLUSIVE TRUE PPN Tax type that is applicable for the customer will be reflected in the invoice
address String FALSE customer's address
email String FALSE The email address where the payment link will be sent to. Max 6 email separate by ;
pic_name String FALSE Name of the person in charge for handling the invoice
phone_number String with phone pattern FALSE Phone number of the customer for a transaction. Do not use special character (e.g. "+").
pph_tax NO_TAX / PPH_23_NON_NPWP / PPH_23_NPWP TRUE PPH Tax type that is applicable for the customer will be reflected in the invoice
status ACTIVE/INACTIVE TRUE Changing status from Active to Inactive only applicable when there is not outstanding invoice

Response Parameters

Parameters Type Description
success Boolean To determine result of endpoint
error Object Specific code for cause of error and error message
data Object Status of response in Object {id: , partner_customer_id: , status: , name: , tax_type: , address:
, email: , pic_name: , phone_number: , pph_tax: }
id String customer primary id
partner_customer_id String Inputted customer id name
status ACTIVE Customer's status, first creation always active.
name String Name of a customer for a transaction
tax_type NO_TAX Result of choosen enum tax type
address String Inputted customer's address
email String Inputted customer's email
pic_name String Inputted PIC name
phone_number String Inputted customer's phone number
pph_tax PPH_23_NON_NPWP Result of choosen enum
reason String Reserved field to add additional notes for the response
status_code Integer Response Status code

Retrieve Customer's Details

This endpoints allow Partners to retrieve existing customers details.

curl --location --request GET 'https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15' \
--header 'x-oy-username: username' \
--header 'x-api-key: api_key' 
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',

var request = http.Request('GET', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15")
  .method("GET", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .build();
Response response = client.newCall(request).execute();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = ''
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key'
}
conn.request("GET", "/api/account-receivable/customers/8b57cbb0-41f9-48f2-b092-5fa999ddcb15", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "data": {
    "id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
    "status": "ACTIVE",
    "partner_customer_id": "customer_id",
    "name": "Acumen Metros",
    "pic_name": null,
    "phone_number": "082143207721",
    "tax_type": "NO_TAX",
    "pph_tax": "PPH_23_NON_NPWP",
    "email": "new_email@address.com",
    "address": "",
    "total_piutang": 0,
    "can_be_deactivated": true
  },
  "error": null,
  "status": true,
  "reason": null,
  "status_code": 200
}

HTTPS Request

[Production] PUT https://partner.oyindonesia.com/api/account-receivable/customers/:id
[Staging] PUT https://api-stg.oyindonesia.com/api/account-receivable/customers/:id

Response Parameters

Parameters Type Description
success Boolean To determine result of endpoint
error Object Specific code for cause of error and error message
data Object Status of response in Object {id: , partner_customer_id: , status: , name: , tax_type: , address:
, email: , pic_name: , phone_number: , pph_tax: }
id String customer primary id
partner_customer_id String Inputted customer id name
status ACTIVE Customer's status, first creation always active.
name String Name of a customer for a transaction
tax_type NO_TAX Result of choosen enum tax type
address String Inputted customer's address
email String Inputted customer's email
pic_name String Inputted PIC name
phone_number String Inputted customer's phone number
pph_tax PPH_23_NON_NPWP Result of choosen enum
reason String Reserved field to add additional notes for the response
status_code Integer Response Status code

Filter & Search Customers

This endpoint filters customer data based on criteria that can be set through API

curl --location --request GET 'https://partner.oyindonesia.com/api/account-receivable/customers' \
--header 'x-oy-username: username' \
--header 'x-api-key: api_key' \
--header 'Content-Type: application/json' \
--data-raw '{

}'
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
};
var request = http.Request('GET', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/customers'));
request.body = json.encode({});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}

package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/customers"
  method := "GET"

  payload := strings.NewReader(`{

}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
  MediaType mediaType = MediaType.parse("application/json");
  RequestBody body = RequestBody.create(mediaType, "{\n    \n}");
  Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/customers")
  .method("GET", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .addHeader("Content-Type", "application/json")
  .build();
  Response response = client.newCall(request).execute();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/customers');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    \n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = json.dumps({})
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
}
conn.request("GET", "/api/account-receivable/customers", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "data": [
    {
      "id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
      "status": "ACTIVE",
      "partner_customer_id": "customer_id",
      "name": "Acumen Metros",
      "pic_name": null,
      "phone_number": "082143207721",
      "tax_type": "NO_TAX",
      "pph_tax": "PPH_23_NON_NPWP",
      "email": "new_email@address.com",
      "address": "",
      "total_piutang": null,
      "can_be_deactivated": true
    }
  ],
  "error": null,
  "status": true,
  "reason": null,
  "status_code": 200
}

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/account-receivable/customers?*parameter*
[Staging] GET https://api-stg.oyindonesia.com/api/account-receivable/customers?*parameter*

Request Parameters

Parameters Required Description Example value
limit FALSE Number of records that should be returned to the API 10
offset FALSE Filter invoice using customer name, it can be filtering using spesific value or just contain some text 0
status FALSE Filter based on invoice status Possible value: CREATED, OVERDUE, PAID
partner_customer_id FALSE partner customer id name USER001
name FALSE partner customer name Aston
tax_type FALSE Filter based on PPN Tax Type NO_TAX
pph_tax FALSE Filter based on PPh Tax Type PPH_23_NON_NPWP

Response Parameters

Parameters Type Description
success Boolean To determine result of endpoint
error Object Specific code for cause of error and error message
data Object Status of response in Object {id: , partner_customer_id: , status: , name: , tax_type: , address:
, email: , pic_name: , phone_number: , pph_tax: }
id String customer primary id
partner_customer_id String Inputted customer id name
status ACTIVE Customer's status, first creation always active.
name String Name of a customer for a transaction
tax_type NO_TAX Result of choosen enum tax type
address String Inputted customer's address
email String Inputted customer's email
pic_name String Inputted PIC name
phone_number String Inputted customer's phone number
pph_tax PPH_23_NON_NPWP Result of choosen enum
reason String Reserved field to add additional notes for the response
status_code Integer Response Status code

Create & Send Invoice

This endpoint allows Partners to create Account Receivable Invoice through API and send invoice directly to customers via email.

Use this API to create new VA number

curl --location --request POST 'https://partner.oyindonesia.com/api/account-receivable/invoices' \
--header 'x-oy-username: username' \
--header 'x-api-key: api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "invoice_number": "INV/2022/12/210205",
    "invoice_date": "2022-12-21",
    "due_date": "2022-12-25",
    "customer_id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
    "expiration_date":"2022-12-25 12:58:01",
    "invoice_items": [{
        "price_per_item": 25600,
        "description": "kopi susu",
        "quantity": 4
    }],
    "additional_items": [{
        "description": "Diskon",
        "price_per_item": -5000,
        "quantity": 1
    }],
    "message": null,
    "attachments": [],
    "save_as_default_message": false,
    "payment_configuration": {
        "include_admin_fee": true,
        "list_disabled_payment_methods": "OFFLINE_CASH_IN",
        "list_enabled_banks": "002,008,009,013,213",
        "list_enabled_ewallet": "shopeepay_ewallet,linkaja_ewallet,dana_ewallet",
        "list_enabled_offline_channel": ""
    }
}'
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/invoices'));
request.body = json.encode({
  "invoice_number": "INV/2022/12/210205",
  "invoice_date": "2022-12-21",
  "due_date": "2022-12-25",
  "customer_id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
  "expiration_date": "2022-12-25 12:58:01",
  "invoice_items": [
    {
      "price_per_item": 25600,
      "description": "kopi susu",
      "quantity": 4
    }
  ],
  "additional_items": [
    {
      "description": "Diskon",
      "price_per_item": -5000,
      "quantity": 1
    }
  ],
  "message": null,
  "attachments": [],
  "save_as_default_message": false,
  "payment_configuration": {
    "include_admin_fee": true,
    "list_disabled_payment_methods": "OFFLINE_CASH_IN",
    "list_enabled_banks": "002,008,009,013,213",
    "list_enabled_ewallet": "shopeepay_ewallet,linkaja_ewallet,dana_ewallet",
    "list_enabled_offline_channel": ""
  }
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/invoices"
  method := "POST"

  payload := strings.NewReader(`{
    "invoice_number": "INV/2022/12/210205",
    "invoice_date": "2022-12-21",
    "due_date": "2022-12-25",
    "customer_id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
    "expiration_date":"2022-12-25 12:58:01",
    "invoice_items": [{
        "price_per_item": 25600,
        "description": "kopi susu",
        "quantity": 4
    }],
    "additional_items": [{
        "description": "Diskon",
        "price_per_item": -5000,
        "quantity": 1
    }],
    "message": null,
    "attachments": [],
    "save_as_default_message": false,
    "payment_configuration": {
        "include_admin_fee": true,
        "list_disabled_payment_methods": "OFFLINE_CASH_IN",
        "list_enabled_banks": "002,008,009,013,213",
        "list_enabled_ewallet": "shopeepay_ewallet,linkaja_ewallet,dana_ewallet",
        "list_enabled_offline_channel": ""
    }
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
  MediaType mediaType = MediaType.parse("application/json");
  RequestBody body = RequestBody.create(mediaType, "{\n    \"invoice_number\": \"INV/2022/12/210205\",\n    \"invoice_date\": \"2022-12-21\",\n    \"due_date\": \"2022-12-25\",\n    \"customer_id\": \"8b57cbb0-41f9-48f2-b092-5fa999ddcb15\",\n    \"expiration_date\":\"2022-12-25 12:58:01\",\n    \"invoice_items\": [{\n        \"price_per_item\": 25600,\n        \"description\": \"kopi susu\",\n        \"quantity\": 4\n    }],\n    \"additional_items\": [{\n        \"description\": \"Diskon\",\n        \"price_per_item\": -5000,\n        \"quantity\": 1\n    }],\n    \"message\": null,\n    \"attachments\": [],\n    \"save_as_default_message\": false,\n    \"payment_configuration\": {\n        \"include_admin_fee\": true,\n        \"list_disabled_payment_methods\": \"OFFLINE_CASH_IN\",\n        \"list_enabled_banks\": \"002,008,009,013,213\",\n        \"list_enabled_ewallet\": \"shopeepay_ewallet,linkaja_ewallet,dana_ewallet\",\n        \"list_enabled_offline_channel\": \"\"\n    }\n}");
  Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/invoices")
  .method("POST", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .addHeader("Content-Type", "application/json")
  .build();
  Response response = client.newCall(request).execute();
// WARNING: For POST requests, body is set to null by browsers.
var data = JSON.stringify({
  "invoice_number": "INV/2022/12/210205",
  "invoice_date": "2022-12-21",
  "due_date": "2022-12-25",
  "customer_id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
  "expiration_date": "2022-12-25 12:58:01",
  "invoice_items": [
    {
      "price_per_item": 25600,
      "description": "kopi susu",
      "quantity": 4
    }
  ],
  "additional_items": [
    {
      "description": "Diskon",
      "price_per_item": -5000,
      "quantity": 1
    }
  ],
  "message": null,
  "attachments": [],
  "save_as_default_message": false,
  "payment_configuration": {
    "include_admin_fee": true,
    "list_disabled_payment_methods": "OFFLINE_CASH_IN",
    "list_enabled_banks": "002,008,009,013,213",
    "list_enabled_ewallet": "shopeepay_ewallet,linkaja_ewallet,dana_ewallet",
    "list_enabled_offline_channel": ""
  }
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://partner.oyindonesia.com/api/account-receivable/invoices");
xhr.setRequestHeader("x-oy-username", "username");
xhr.setRequestHeader("x-api-key", "api_key");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/invoices');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "invoice_number": "INV/2022/12/210205",\n    "invoice_date": "2022-12-21",\n    "due_date": "2022-12-25",\n    "customer_id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",\n    "expiration_date":"2022-12-25 12:58:01",\n    "invoice_items": [{\n        "price_per_item": 25600,\n        "description": "kopi susu",\n        "quantity": 4\n    }],\n    "additional_items": [{\n        "description": "Diskon",\n        "price_per_item": -5000,\n        "quantity": 1\n    }],\n    "message": null,\n    "attachments": [],\n    "save_as_default_message": false,\n    "payment_configuration": {\n        "include_admin_fee": true,\n        "list_disabled_payment_methods": "OFFLINE_CASH_IN",\n        "list_enabled_banks": "002,008,009,013,213",\n        "list_enabled_ewallet": "shopeepay_ewallet,linkaja_ewallet,dana_ewallet",\n        "list_enabled_offline_channel": ""\n    }\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = json.dumps({
  "invoice_number": "INV/2022/12/210205",
  "invoice_date": "2022-12-21",
  "due_date": "2022-12-25",
  "customer_id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
  "expiration_date": "2022-12-25 12:58:01",
  "invoice_items": [
    {
      "price_per_item": 25600,
      "description": "kopi susu",
      "quantity": 4
    }
  ],
  "additional_items": [
    {
      "description": "Diskon",
      "price_per_item": -5000,
      "quantity": 1
    }
  ],
  "message": None,
  "attachments": [],
  "save_as_default_message": False,
  "payment_configuration": {
    "include_admin_fee": True,
    "list_disabled_payment_methods": "OFFLINE_CASH_IN",
    "list_enabled_banks": "002,008,009,013,213",
    "list_enabled_ewallet": "shopeepay_ewallet,linkaja_ewallet,dana_ewallet",
    "list_enabled_offline_channel": ""
  }
})
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/account-receivable/invoices", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "data": {
    "id": "c6733a50-f93b-489f-b12b-48f8cc67735e",
    "status": "CREATED",
    "customer_id": null,
    "customer_name": "Acumen Metros",
    "customer_phone_number": null,
    "invoice_number": "INV/2022/12/210205",
    "source_data": "API",
    "invoice_date": 1671555600000,
    "due_date": 1671901200000,
    "expiration_date": 1671947881000,
    "invoice_items": [
      {
        "description": "kopi susu",
        "quantity": 4,
        "price_per_item": 25600
      }
    ],
    "message": null,
    "attachments": [],
    "payment_url": "https://pay-dev.oyindonesia.com/invoice/c6733a50-f93b-489f-b12b-48f8cc67735e",
    "payment_date": null,
    "admin_fee": null,
    "amount_billed": null,
    "amount_received": null,
    "customer_email": null
  },
  "error": null,
  "status": true,
  "reason": null,
  "status_code": 200
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/account-receivable/invoices
[Staging] POST https://api-stg.oyindonesia.com/api/account-receivable/invoices

Request Parameters

Parameters Type Required Description
invoice_number String TRUE Invoice number for identification purposes
invoice_date Date string with pattern yyyy-MM-dd TRUE The date of the invoice
due_date Date string with pattern yyyy-MM-dd TRUE Must be bigger than present time
customer_id String TRUE Customer must be in ACTIVE state
expiration_date Date string with pattern yyyy-MM-dd HH:mm:ss TRUE Experation date must be bigger than invoice date. Empty string will returns error and Null will be treated as lifetime value.
invoice_items List Object of invoice items TRUE List Invoice Items object, Request in Object {price_per_item: , description: , quantity: }
price_per_item Integer TRUE Minimum is 0
description String TRUE The description of the items
quantity Integer TRUE Minimum is 1
additional_items List Object of additional items FALSE List additional items object. Request in object {price_per_item: , description: , quantity: }
price_per_item Integer TRUE Can be negative to substract total price
description String TRUE The description of the additional items
quantity Integer TRUE Minimum is 1
message String FALSE Additional footnote message inside invoice
attachments String FALSE Max 4 Attachments and need to decode to String base64
payment_configuration Object TRUE Status of request in Object {include_admin_fee: , list_disabled_payment_methods: , list_enabled_banks: , list_enabled_ewallet: , list_enabled_offline_channel: }
include_admin_fee Boolean TRUE true/false
list_disabled_payment_methods String TRUE To configure payment methods to be disabled (e.g. VA, CREDIT_CARD, QRIS, EWALLET). When CREDIT_CARD is included, you are disabling the ‘cards’ payment method as a whole - which means disabling both credit card and debit card. There must be at least 1 payment method is enabled. If this field is not included in the request, or filled with an empty String, then all payment methods will be enabled.
list_enabled_banks String TRUE To configure banks to be enabled for VA payment method. List of eligible bank codes: "002" (BRI), "008" (Mandiri), "009" (BNI), "013" (Permata), "022" (CIMB).
list_enabled_ewallet String TRUE To configure list of e-wallets to be enabled on payment method page
list_enabled_offline_channel String TRUE To configure list of offline channels to be enabled on payment method page

Response Parameters

Parameters Type Description
success Boolean To determine result of endpoint
error Object Specific code for cause of error and error message
data Object Status of response in Object {id: , partner_customer_id: , status: , tax_type: , address:
, email: , pic_name: , phone_number: , pph_tax: }
id String Unique Payment ID for a specific invoice, that is generated after successful invoice creation.
status String Default status first time invoice created
customer_name String Inputted Customer name
invoice_number String Inputted invoice number
source_data String Default value will be "API" when create invoice through API
invoice_date Date string with pattern yyyy-MM-dd Inputted invoice date
due_date Date string with pattern yyyy-MM-dd Inputted due date
expiration_date Date string with pattern yyyy-MM-dd HH:mm:ss Inputted experation date
invoice_items List Object of invoice items Inputted invoice items
price_per_item Integer Inputed price per items
description String Inputed description
quantity Integer Inputed quantity
message String Inputed message
attachments String inputted attachments
payment_url String Payment link to pay this invoice
reason String Reserved field to add additional notes for the response
status_code Integer Response Status code

Cancel Invoice

An endpoint that allows invoice cancellation after creation

curl --location --request PUT 'https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e' \
--header 'x-oy-username: username' \
--header 'x-api-key: api_key' \
--data-raw ''
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key'
};
var request = http.Request('PUT', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e'));
request.body = '''''';
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e"
  method := "PUT"

  payload := strings.NewReader(``)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
  MediaType mediaType = MediaType.parse("text/plain");
  RequestBody body = RequestBody.create(mediaType, "");
  Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e")
  .method("PUT", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .build();
  Response response = client.newCall(request).execute();
var data = "";

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("PUT", "https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e");
xhr.setRequestHeader("x-oy-username", "username");
xhr.setRequestHeader("x-api-key", "api_key");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e');
$request->setMethod(HTTP_Request2::METHOD_PUT);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key'
));
$request->setBody('');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = ''
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key'
}
conn.request("PUT", "/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "success": true,
  "error": null,
  "data": null,
  "reason": null,
  "status_code": 200
}

HTTPS Request

[Production] PUT https://partner.oyindonesia.com/api/account-receivable/invoices/:id
[Staging] PUT https://api-stg.oyindonesia.com/api/account-receivable/invoices/:id

Request Parameters

Parameters Type Required Description
id String TRUE Unique Payment ID for a specific invoice, that is generated after successful invoice creation.

Response Parameters

Parameters Type Description
success Boolean Determine result of endpoint
error Object If success, this field is null
data Object
code String Success status code
message String Success reason message
reason String Reserve field to add additional notes for the response
status_code Integer Response Status code

Get Invoice Details

An endpoints that can provide details of an invoice including amount and status.

curl --location --request GET 'https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e' \
--header 'x-oy-username: username' \
--header 'x-api-key: api_key'
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key'
};
var request = http.Request('GET', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
  MediaType mediaType = MediaType.parse("text/plain");
  RequestBody body = RequestBody.create(mediaType, "");
  Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e")
  .method("GET", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .build();
  Response response = client.newCall(request).execute();
// WARNING: For GET requests, body is set to null by browsers.

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e");
xhr.setRequestHeader("x-oy-username", "username");
xhr.setRequestHeader("x-api-key", "api_key");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = ''
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key'
}
conn.request("GET", "/api/account-receivable/invoices/c6733a50-f93b-489f-b12b-48f8cc67735e", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "success": true,
  "error": null,
  "data": {
    "id": "c6733a50-f93b-489f-b12b-48f8cc67735e",
    "status": "CANCELLED",
    "customer_id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
    "customer_name": "Acumen Metros",
    "customer_email": "new_email@address.com",
    "customer_phone_number": "082143207721",
    "invoice_number": "INV/2022/12/210205",
    "source_data": "API",
    "message": null,
    "attachments": [],
    "invoice_date": "2022-12-21",
    "payment_date": "2022-12-21 02:22:19",
    "due_date": "2022-12-25",
    "expiration_date": "2022-12-25 12:58:01",
    "amount_billed": 93304.0000,
    "amount_received": 0,
    "admin_fee": null,
    "payment_method": null,
    "payment_url": "https://pay-dev.oyindonesia.com/invoice/c6733a50-f93b-489f-b12b-48f8cc67735e",
    "invoice_items": [
      {
        "description": "kopi susu",
        "quantity": 4,
        "price_per_item": 25600
      }
    ],
    "timeline_invoices": [
      {
        "status": "CREATED",
        "action_stakeholder": "fajardev",
        "action_date": "2022-12-21 02:07:00"
      },
      {
        "status": "CANCELLED",
        "action_stakeholder": "Acumen Metros",
        "action_date": "2022-12-21 02:22:19"
      }
    ]
  },
  "reason": null,
  "status_code": 200
}

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/account-receivable/invoices/:id
[Staging] GET https://api-stg.oyindonesia.com/api/account-receivable/invoices/:id

Request Parameters

Parameters Type Required Description
id String TRUE Unique Payment ID for a specific invoice, that is generated after successful invoice creation.

Response Parameters

Parameters Type Description
success Boolean To determine result of endpoint
error Object Specific code for cause of error and error message
data Object Status of response in Object {id: , partner_customer_id: , status: , tax_type: , address:
, email: , pic_name: , phone_number: , pph_tax: }
id String Unique Payment ID for a specific invoice, that is generated after successful invoice creation.
status String Default status first time invoice created
customer_id String Customer id for this invoice
customer_name String Inputted Customer name
customer_email String Customer email
customer_phone_number String Customer phone number
invoice_number String Inputted invoice number
source_data String Default value will be "API" when create invoice through API
invoice_date Date string with pattern yyyy-MM-dd Inputted invoice date
payment_date Date string with pattern yyyy-MM-dd HH:mm:ss Date when invoice reach final status(CANCELLED or PAID)
due_date Date string with pattern yyyy-MM-dd Inputted due date
expiration_date Date string with pattern yyyy-MM-dd HH:mm:ss Inputted experation date
amount_billed Integer Sum of billed invoice price
amount_received Integer Sum of paid invoice
invoice_items List Object of invoice items Inputted invoice items
price_per_item Integer Inputed price per items
description String Inputed description
quantity Integer Inputed quantity
message String Inputed message
attachments String inputted attachments
payment_url String Payment link to pay this invoice
timeline_invoices List of object History list of invoice timeline. Object {status:, action_stakeholder: , action_date:}
status String Status of the invoice at a point of time
action_stakeholder String Stakeholder that creates milestones
action_date date date of milestones (when it was create, cancelled, paid)
reason String Reserve Parameter to add additional notes for the response
status_code Integer Response Status code

Filter and Search Invoice

This endpoint allows Partners to filter and search invoices based on certain criteria

curl --location --request GET 'https://partner.oyindonesia.com/api/account-receivable/invoices?limit=10&offset=0&source_data=API' \
--header 'x-oy-username: username' \
--header 'x-api-key: api_key' \
--data-raw ''
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key'
};
var request = http.Request('GET', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/invoices?limit=10&offset=0&source_data=API'));
request.body = '''''';
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/invoices?limit=10&offset=0&source_data=API"
  method := "GET"

  payload := strings.NewReader(``)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")


  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
  MediaType mediaType = MediaType.parse("text/plain");
  RequestBody body = RequestBody.create(mediaType, "");
  Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/invoices?limit=10&offset=0&source_data=API")
  .method("GET", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .build();
  Response response = client.newCall(request).execute();
// WARNING: For GET requests, body is set to null by browsers.
var data = "";

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://partner.oyindonesia.com/api/account-receivable/invoices?limit=10&offset=0&source_data=API");
xhr.setRequestHeader("x-oy-username", "username");
xhr.setRequestHeader("x-api-key", "api_key");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/invoices?limit=10&offset=0&source_data=API');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key'
));
$request->setBody('');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = ''
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key'
}
conn.request("GET", "/api/account-receivable/invoices?limit=10&offset=0&source_data=API", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "success": true,
  "error": null,
  "data": {
    "page": 0,
    "total": 1,
    "limit": 10,
    "data": [{
      "id": "c6733a50-f93b-489f-b12b-48f8cc67735e",
      "status": "CANCELLED",
      "customer_id": "8b57cbb0-41f9-48f2-b092-5fa999ddcb15",
      "customer_name": "Acumen Metros",
      "customer_phone_number": "082143207721",
      "invoice_number": "INV/2022/12/210205",
      "source_data": "API",
      "invoice_date": 1671555600000,
      "due_date": 1671901200000,
      "expiration_date": 1671947881000,
      "invoice_items": [{
        "description": "kopi susu",
        "quantity": 4,
        "price_per_item": 25600
      }],
      "message": null,
      "attachments": null,
      "payment_url": "https://pay-dev.oyindonesia.com/invoice/c6733a50-f93b-489f-b12b-48f8cc67735e",
      "payment_date": null,
      "admin_fee": null,
      "amount_billed": 93304,
      "amount_received": 0,
      "customer_email": "new_email@address.com"
    }
    ]
  },
  "reason": null,
  "status_code": 200
}

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/account-receivable/invoices?*parameter*
[Staging] GET https://api-stg.oyindonesia.com/api/account-receivable/invoices?*parameter*

Request Parameters

Parameters Required Description Example value
limit FALSE Limit record need to show 10
offset FALSE Filter invoice using customer name, it can be filtering using spesific value or just contain some text 0
source_data FALSE Enum to choose source creation invoice API/DASHBOARD
invoice_number FALSE Filter invoice using invoice number, it can be filtering using spesific value or just contain some text 2022
customer_name FALSE Filter invoice using customer name, it can be filtering using spesific value or just contain some text dev 2
status FALSE Filter invoice using invoice status possible value: CREATED, OVERDUE, PAID, CANCELLED
min_invoice_amount FALSE Filter invoice using minimum invoice amount 10000
max_invoice_amount FALSE Filter invoice using maximum invoice amount 100000

Response Parameters

Parameters Type Description
success Boolean Determine result of endpoint
error Object If success, this field is null
data List of object List of invoice based on filter
code String Success status code
message String Success reason message
reason String Reserve field to add additional notes for the response
status_code Integer Succes status code

Resend Invoice

This endpoint enables Partners to resend their invoices for reminder purposes. The API can be triggered to Email or Whatsapp. For Whatsapp, fees may occur.

curl --location --request POST 'http://172.11.25.113:8080/api/account-receivable/invoices/d24ee55f-7eaf-4269-b932-f123dec6f863/send' \
--header 'x-oy-username: username' \
--header 'x-api-key: api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "channel" : "EMAIL"
}'
var headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('https://partner.oyindonesia.com/api/account-receivable/invoices/d24ee55f-7eaf-4269-b932-f123dec6f863/send'));
request.body = json.encode({
  "channel": "EMAIL"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account-receivable/invoices/d24ee55f-7eaf-4269-b932-f123dec6f863/send"
  method := "POST"

  payload := strings.NewReader(`{
    "channel" : "EMAIL"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "username")
  req.Header.Add("x-api-key", "api_key")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
  MediaType mediaType = MediaType.parse("application/json");
  RequestBody body = RequestBody.create(mediaType, "{\n    \"channel\" : \"EMAIL\"\n}");
  Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account-receivable/invoices/d24ee55f-7eaf-4269-b932-f123dec6f863/send")
  .method("POST", body)
  .addHeader("x-oy-username", "username")
  .addHeader("x-api-key", "api_key")
  .addHeader("Content-Type", "application/json")
  .build();
  Response response = client.newCall(request).execute();
// WARNING: For POST requests, body is set to null by browsers.
var data = JSON.stringify({
  "channel": "EMAIL"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://partner.oyindonesia.com/api/account-receivable/invoices/d24ee55f-7eaf-4269-b932-f123dec6f863/send");
xhr.setRequestHeader("x-oy-username", "username");
xhr.setRequestHeader("x-api-key", "api_key");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account-receivable/invoices/d24ee55f-7eaf-4269-b932-f123dec6f863/send');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => 'username',
  'x-api-key' => 'api_key',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "channel" : "EMAIL"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("partner.oyindonesia.com")
payload = json.dumps({
  "channel": "EMAIL"
})
headers = {
  'x-oy-username': 'username',
  'x-api-key': 'api_key',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/account-receivable/invoices/d24ee55f-7eaf-4269-b932-f123dec6f863/send", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "success":true,
  "error":null,
  "data":null,
  "reason":null,
  "status_code":200
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com//api/account-receivable/invoices/b97a9a0d-d635-4e19-9086-031ef541c8c5/send
[Staging] POST https://api-stg.oyindonesia.com//api/account-receivable/invoices/b97a9a0d-d635-4e19-9086-031ef541c8c5/send

Request Parameters

Parameters Type Required Description
channel String True EMAIL-> using partner email; WHATSAPP-> using partner phone number, but there is limit how many partner can use whatspp per day

Response Parameters

Parameters Type Description
success Boolean To determine result of endpoint
error Object Specific code for cause of error and error message
data Object Always null, use success to determine the result of request
reason String Reserved field to add additional notes for the response
status_code Integer Response Status code

Response Code

Code Description
000 Success
204 Tx Id is not found
210 Billed invoice less than threshold : Rp 10000
223 Invoice status not eligible to cancel
247 Email is not valid
247 Phone number is not valid
300 Failed to cancel invoice with id, please try again
400 Payment configuration can't be null
400 Invoice date can't be null or empty
400 Invoice date is less than today
400 Customer id can't be null or empty
400 Customer ID Not Found
400 Due date can't be null or empty
400 Due date can't before invoice date
400 Invalid expired Date time
400 User is not active
400 Please fix negative price in invoice items
400 Attachments maximum is 4 item
400 Tax type value is invalid
400 Invalid tax type input
400 Pph tax type value is invalid
400 Pph tax can't be null
400 Email address limit is 6
400 Name cannot be null or empty
901 Expiration date exceed invoice time

Default Failed Responses in Each API

These parameters will show up as part of the response parameter.

Parameters Type Description
success Boolean Determine result of endpoint
error Object Specific code for cause of error and error message
data Object Always null, use success to determine the result of request
reason String Reserved field to add additional notes for the response
status_code Integer Response Status code

API Offline

API Offline enables your users to withdraw and deposit money from OY offline channel such as Cash Recycle Machine (CRM) and convenience store.

Initiate Transaction

curl -X \
POST https://partner.oyindonesia.com/api/offline-create \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:7654321' \
-d '{
   "partner_trx_id":"withdraw_request_123",
   "receiver_phone_number":"081234567890",
   "customer_id":"customer01",
   "amount":50000,
   "notes":"tagihan21",
   "transaction_type":"CASH_IN",
   "offline_channel":"INDOMARET"
}'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/offline-create'));
request.body = json.encode({
  "partner_trx_id": "oyonoy-00007",
  "receiver_phone_number": "081234567890",
  "customer_id": "customer01",
  "amount": 50000,
  "notes":"tagihan21",
  "transaction_type": "CASH_IN",
  "offline_channel": "INDOMARET"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/offline-create"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_trx_id": "oyonoy-00007",
    "receiver_phone_number": "081234567890",
    "customer_id": "customer01",
    "amount": 50000,
    "notes":"tagihan21",
    "transaction_type": "CASH_IN",
    "offline_channel": "INDOMARET"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_trx_id\": \"oyonoy-00007\",\n    \"receiver_phone_number\": \"081223738047\",\n    \"customer_id\": \"customer01\",\n    \"amount\": 50000,\n    \"notes\": \"tagihan21\",\n    \"transaction_type\": \"CASH_IN\",\n    \"offline_channel\": \"INDOMARET\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/offline-create")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_trx_id": "oyonoy-00007",
  "receiver_phone_number": "081223738047",
  "amount": 50000,
  "notes":"tagihan21",
  "transaction_type": "CASH_IN",
  "offline_channel": "INDOMARET"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/offline-create");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/offline-create');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n    "partner_trx_id": "oyonoy-00007",\n    "receiver_phone_number": "081223738047",\n    "amount": 50000,\n    "notes": "tagihan21",\n    "transaction_type": "CASH_IN",\n    "offline_channel": "INDOMARET"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_trx_id": "oyonoy-00007",
  "receiver_phone_number": "081223738047",
  "customer_id": "customer01",
  "amount": 50000,
  "notes":"tagihan21",
  "transaction_type": "CASH_IN",
  "offline_channel": "INDOMARET"
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/offline-create", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "100",
        "message": "In Progress"
    },
    "amount": 50000,
    "admin_fee": 451,
    "tax_fee": 49,
    "total_amount": 50500,
    "code": "12312313132131",
    "timestamp": "14-10-2020 17:12:16",
    "receiver_phone_number": "+6281234567890",
    "customer_id": "customer01",
    "partner_trx_id": "oyonoy-00007",
    "trx_id": "1234-5678",
    "transaction_type": "CASH_IN",
    "inactive_at": "2020-10-15 10:12:16.786",
    "expired_at": "2020-10-15 10:12:16.786"
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/offline-create
[Staging] TBD

Request Parameters

Parameter Type Required Description
partner_trx_id String(255) TRUE Unique Payout ID for a specific request, generated by partner
receiver_phone_number String(255) FALSE User's phone number
customer_id String(255) TRUE Customer's ID that will be used for withdraw or deposit process
amount BigDecimal TRUE The amount that will be withdrawn or deposit (Only accepts multiplier of 50.000 for cash-out transaction)
notes String(40) FALSE Add notes/description to the transaction.
transaction_type String(255) TRUE Type of transaction. CASH_OUT for withdrawal and CASH_IN for deposit.
offline_channel String(255) TRUE Offline Channel which the transaction will be processed.

Response Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
partner_trx_id String(255) Unique Payout ID for a specific request, generated by partner.
trx_id String(36) Unique Payout ID from OY!. Partner can use this ID for settlement.
amount BigDecimal Amount of transaction
tax_fee BigDecimal Amount of tax
admin_fee BigDecimal Amount of admin fee
total_amount BigDecimal Sum of amount, admin fee and tax fee
code String(6) Required unique code for Deposit or Withdrawal process
receiver_phone_number String(255) User's phone number
customer_id String(255) Customer's ID that will be used for withdraw or deposit process
transaction_type String(255) Type of transaction. CASH_OUT for withdrawal and CASH_IN for deposit.
timestamp String(19) Execution time of the request in OY! system ("yyyy-MM-dd HH:mm:ss.SSS")
inactive_at String(19) The time that the unique code will expire and need to be refreshed ("yyyy-MM-dd HH:mm:ss.SSS")
expired_at String(19) The time that the transaction will expire and won't be able to be withdrawn or deposited ("yyyy-MM-dd HH:mm:ss.SSS")

Important Notes inactive_at is only applicable for Alfamart Cash-Out & CRM. Cash-In (Alfamart & Indomaret) code stays valid for 24 hours

Cash-In transaction receives any cash denom starting from 2.000 to 100.000 with minimum amount of 10.000 and maximum amount of 5.000.000 (including admin fee)

admin_fee will be available to you in each transaction and total_amount will reflect the sum of admin_fee, tax and amount

Cancel Transaction

curl -X \
POST https://partner.oyindonesia.com/api/offline-cancel \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:7654321' \
-d '{
   "partner_trx_id":"withdraw_request_123"
}'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/offline-cancel'));
request.body = json.encode({
  "partner_trx_id": "oyonoy-00003"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/offline-cancel"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_trx_id": "oyonoy-00003"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_trx_id\": \"oyonoy-00003\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/offline-cancel")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_trx_id": "oyonoy-00003"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/offline-cancel");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/offline-cancel');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n    "partner_trx_id": "oyonoy-00003"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_trx_id": "oyonoy-00003"
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/offline-cancel", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code":"299",
        "message":"Transaction Canceled"
    },
    "partner_trx_id":"withdraw_request_123",
    "timestamp":"2021-04-05 20:38:23.953"
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/offline-cancel
[Staging] TBD

Request Parameters

Parameter Type Required Description
partner_trx_id String(255) TRUE Unique Payout ID for a specific request, generated by partner

Response Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
partner_trx_id String(255) Unique Payout ID for a specific request, generated by partner.
timestamp String(19) Execution time of the request in OY! system ("yyyy-MM-dd HH:mm:ss.SSS")

Important Notes

Cancellation is only applicable for Alfamart Cash-Out & CRM transactions, Cash-In transactions cannot be cancelled.

Transaction Info

curl -X \
POST https://partner.oyindonesia.com/api/offline-info \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:7654321' \
-d '{
   "partner_trx_id":"oyonoy-00002",
   "send_callback":"true"
}'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api-offline/tx-info'));
request.body = json.encode({
  "partner_trx_id": "oyonoy-00002",
  "send_callback": false
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api-offline/tx-info"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_trx_id": "oyonoy-00002",
    "send_callback": false
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_trx_id\": \"oyonoy-00002\",\n    \"send_callback\": false\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api-offline/tx-info")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_trx_id": "oyonoy-00002",
  "send_callback": false
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api-offline/tx-info");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api-offline/tx-info');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n    "partner_trx_id": "oyonoy-00002",\n    "send_callback": false\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_trx_id": "oyonoy-00002",
  "send_callback": False
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api-offline/tx-info", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "partner_trx_id": "oyonoy-00002",
    "trx_id": "4c466140-6b15-41c7-9499-a01e2978f9ec",
    "amount": 100000.0000,
    "code": "1911452620835003",
    "receiver_phone_number": "+62812123890",
    "customer_id": "customer01",
    "transaction_type": "CASH_IN",
    "offline_channel": "INDOMARET",
    "timestamp": "2022-01-27 15:49:53.707",
    "admin_fee": 4505.0000,
    "tax_fee": 495.0000,
    "total_amount": 105000.0000,
    "inactive_at": "2022-01-26 13:18:52.541",
    "expired_at": "2022-01-26 13:18:52.541"
}

To get status of a transaction request, you can call this API. You may need to call this API few times until getting a final status (success / failed) or you can implement callback transaction.

This API offers an option to send you a callback status of the transaction request to a specific URL. Please contact us and submit a callback URL if you need a callback status of a transaction request.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/offline-info
[Staging] TBD

Request Parameters

Parameter Type Required Description
partner_trx_id String(255) TRUE Unique Payout ID for a specific request, generated by partner
send_callback Boolean FALSE A flag to indiciate if the status of the transaction request need to be re-sent as a callback or not

Response Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
partner_trx_id String(255) Unique Payout ID for a specific request, generated by partner.
trx_id String(36) Unique Payout ID from OY!. Partner can use this ID for settlement.
amount BigDecimal Amount of transaction
admin_fee BigDecimal Amount of admin fee
tax_fee BigDecimal Amount of tax
total_amount BigDecimal Sum of amount, tax fee and admin fee
code String(6) Required unique code for Deposit or Withdrawal Process
receiver_phone_number String(255) User's phone number
customer_id String(255) Customer's ID that will be used for withdraw or deposit process
transaction_type String(255) Type of transaction. CASH_OUT for withdrawal and CASH_IN for deposit.
offline_channel String(255) Offline channel for transaction. (e.g ALFAMART, INDOMARET or CRM)
timestamp String(19) Execution time of the request in OY! system ("yyyy-MM-dd HH:mm:ss.SSS")
inactive_at String(19) The time that the unique code will expire and need to be refreshed ("yyyy-MM-dd HH:mm:ss.SSS")
expired_at String(19) The time that the transaction will expire and won't be able to be withdrawn or deposited ("yyyy-MM-dd HH:mm:ss.SSS")

Important Notes

inactive_at is only applicable for Alfamart Cash-Out & CRM. Cash-In code stays valid for 24 hours.

Refresh Code

curl -X \
POST https://partner.oyindonesia.com/api/offline-refresh-code \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:7654321' \
-d '{
   "partner_trx_id":"withdraw_request_123"
}'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api-offline/refresh-code'));
request.body = json.encode({
  "partner_trx_id": "oyonoy-00002"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}

package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api-offline/refresh-code"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_trx_id": "oyonoy-00002"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_trx_id\": \"oyonoy-00002\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api-offline/refresh-code")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_trx_id": "oyonoy-00002"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api-offline/refresh-code");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api-offline/refresh-code');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n    "partner_trx_id": "oyonoy-00002"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_trx_id": "oyonoy-00002"
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api-offline/refresh-code", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "code": "970524",
    "partner_trx_id": "withdraw_request_123",
    "inactive_at": "2020-10-14 13:12:16.786",
    "expired_at": "2020-10-15 10:12:16.786"
}

A transaction is valid for 24 hours with a default 3-hours validity for each unique code (Applicable for CRM transaction). Use this API to refresh the unique code that have expired in which transaction is still valid.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/offline-refresh-code
[Staging] TBD

Request Parameters

Parameter Type Required Description
partner_trx_id String(255) TRUE Unique Payout ID for a specific request, generated by partner

Response Parameters

Parameter Type Description
status Object Status of refresh code request in Object {code: <status_code>, message: <status_message>}
code String(6) Required unique code for Deposit or Withdrawal Process
partner_trx_id String(255) Unique Payout ID for a specific request, generated by partner
inactive_at String(19) The time that the unique code will expire and need to be refreshed ("yyyy-MM-dd HH:mm:ss.SSS")
expired_at String(19) The time that the transaction will expire and won't be able to be withdrawn or deposited ("yyyy-MM-dd HH:mm:ss.SSS")

Important Notes

Refresh code is only applicable for Alfamart Cash-Out & CRM transactions, Cash-In transactions cannot be refreshed.

Callback

Response callback:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "partner_trx_id": "568c3e91-ffec-446e-8684-5c696eeba2da",
    "trx_id": "4c466140-6b15-41c7-9499-a01e2978f9ec",
    "amount": 100000.0000,
    "code": "1911452620835003",
    "receiver_phone_number": "+62812123890",
    "customer_id": "customer01",
    "transaction_type": "CASH_IN",
    "offline_channel": "INDOMARET",
    "timestamp": "2022-01-27 15:49:53.707",
    "admin_fee": 4505.0000,
    "tax_fee": 495.0000,
    "total_amount": 105000.0000,
    "inactive_at": "2022-01-26 13:18:52.541",
    "expired_at": "2022-01-26 13:18:52.541"
}

Once a transaction request is finished, our system will make a callback status of that transaction request to your system

Please contact us and submit a callback URL if you need a callback status of a transaction request.

Callback Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
partner_trx_id String(255) Unique Payout ID for a specific request, generated by partner.
trx_id String(36) Unique Payout ID from OY!. Partner can use this ID for settlement.
amount BigDecimal Amount of transaction
admin_fee BigDecimal Amount of admin fee
tax_fee BigDecimal Amount of tax
total_amount BigDecimal Sum of amount, tax_fee and admin fee
code String(6) Required unique code for Deposit or Withdrawal process
receiver_phone_number String(255) User's phone number
customer_id String(255) Customer's ID that will be used for withdraw or deposit process
transaction_type String(255) Type of transaction. CASH_OUT for withdrawal and CASH_IN for deposit.
offline_channel String(255) Offlien channel of transaction. (e.g ALFAMART, INDOMARET or CRM)
timestamp String(19) Execution time of the request in OY! system ("yyyy-MM-dd HH:mm:ss.SSS")
created_date String(19) Executionn time of trasaction in OY! system ("yyyy-MM-dd HH:mm:ss.SSS")
last_updated_date String(19) Latest status change of a transaction. Example from 'Pending' to 'Success' ("yyyy-MM-dd HH:mm:ss.SSS")

API Offline Response Codes

These are the list of possible status codes for API Offline:

Payment Status State Meaning
000 Final Transaction Request has been completed (SUCCESS)
102 Non-Final Request is In Progress (Waiting for Deposit or Withdrawal)
222 Final Transaction Expired (EXPIRED)
297 Non-Final Cash out/in in-progress
299 Final Transaction Canceled (CANCELED)
300 Final Transaction Failed (FAILED)

The following status codes are for rejected requests

Payment Status State Meaning
201 Final Request is Rejected (User ID is not Found)
202 Final Request is Rejected (User ID is not Active)
203 Final Request is Rejected (Duplicate Partner Tx ID)
204 Final Request is Rejected (Partner Tx ID is Not Found)
206 Final Request is Rejected (Partner Deposit Balance is Not Enough)
207 Final Request is Rejected (Request IP Address is not Registered)
208 Final Request is Rejected (API Key is not Valid)
215 Final Request is Rejected (Invalid denom amount request)
220 Final Request is Rejected (Offline channel is not valid or not elegible to process Withdrawal/Deposit Transaction)
221 Final Request is Rejected (Invalid transaction type)
224 Final Request is Rejected (Amount disburse does not reach Min amount)
225 Final Request is Rejected (Max amount per transaction exceed for disburse)
296 Non-Final There is still an active transaction for this phone number
298 Non-Final Transaction cannot be cancelled
429 Final Request Rejected (Too Many Request to specific endpoint)
990 Final Parameter / object is not valid
999 Final Internal Server Error

API Offline Channel

These are the list of OY! offline channel

Offline Channel Transaction Type
CRM CASH IN, CASH OUT
ALFAMART CASH IN, CASH OUT
INDOMARET CASH IN

and their respective maximum amount per transaction is as follows

Offline Channel Cash Out Cash In
CRM 5.000.000 5.000.000
ALFAMART 2.500.000 5.000.000
INDOMARET N/A 5.000.000

API Transactions Data

API Transactions Data allows you to retrieve your user bank account statement data whom has successfully linked their bank account(s) to OY

import

Account Linking Process

curl --location --request \
POST 'https://partner.oyindonesia.com/api/transaction-data/account/register' \
--header 'X-Api-Key: 1234' \
--header 'x-oy-username: satsat' \
--header 'Content-Type: application/json' \
--data-raw '{
    "partner_user_id": "username0001"
}'
var headers = {
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/transaction-data/account/register'));
request.body = json.encode({
  "partner_user_id": "bcaaselaasdasd"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/transaction-data/account/register"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_user_id": "bcaaselaasdasd"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_user_id\": \"bcaaselaasdasd\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/transaction-data/account/register")
  .method("POST", body)
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_user_id": "bcaaselaasdasd"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/transaction-data/account/register");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/transaction-data/account/register');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "partner_user_id": "bcaaselaasdasd"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_user_id": "bcaaselaasdasd"
})
headers = {
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/transaction-data/account/register", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
   {
    "registration_link": "register-transactions.oyindonesia.com/register-transactions/a3cfeaf9c84047708545cbd650b47afe",
    "token": "a3cfeaf9c84047708545cbd650b47afe",
    "status": {
        "code": "000",
        "message": "Success"
    }
}
}

Use this API to link a bank account so it's historical transaction data can be retrieved.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/transaction-data/account/register
[Staging] UPCOMING

Header Parameters

Parameter Type Required Description
X-Oy-Username String TRUE Partner username
X-Api-Key String TRUE Partner API Key

Request Parameters

Parameter Type Required Description
partner_user_id String TRUE A unique identifier of a user which transaction data will be retrieved

Response Parameters

Parameter Type Description
registration_link String Registration link
token String Registration link token to validate the registration link
status Object Status of request registration link {code: <status_code>, message: <status_message>}

Once a link is returned with its temporary token, user will need to access the link and input their banking credentials by checking the consent check box for the product’s terms and condition and clicking the “Register” button.

User will be prompted with a page to notify that the linking process is still in progress since the process might take a few minutes. User can safely close the pop-up and linking status can be checked using API Check Registration Status endpoint.

List of Response Codes

Code Description
000 Success
201 User is not found
202 User is not active
207 IP Address is not registered
208 API Key is not valid
900 Unexpected error

Check Registration Status

  curl --location --request \
  POST 'https://partner.oyindonesia.com/api/transaction-data/account/check-registration-status' \
--header 'X-Api-Key: 1234' \
--header 'x-oy-username: satsat' \
--header 'Content-Type: application/json' \
--data-raw '{
    "registration_token": "a3cfeaf9c84047708545cbd650b47afe"
}'
var headers = {
  'X-Api-Key': '{{api-key}}',
  'X-Oy-Username': '{{username}}',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/transaction-data/account/check-registration-status'));
request.body = json.encode({
  "registration_token": "92b63472b854432cbce516eda3a1dab3"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/transaction-data/account/check-registration-status"
  method := "POST"

  payload := strings.NewReader(`{
    "registration_token": "92b63472b854432cbce516eda3a1dab3"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("X-Api-Key", "{{api-key}}")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"registration_token\": \"92b63472b854432cbce516eda3a1dab3\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/transaction-data/account/check-registration-status")
  .method("POST", body)
  .addHeader("X-Api-Key", "{{api-key}}")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "registration_token": "92b63472b854432cbce516eda3a1dab3"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/transaction-data/account/check-registration-status");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/transaction-data/account/check-registration-status');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'X-Api-Key' => '{{api-key}}',
  'X-Oy-Username' => '{{username}}',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "registration_token": "92b63472b854432cbce516eda3a1dab3"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "registration_token": "92b63472b854432cbce516eda3a1dab3"
})
headers = {
  'X-Api-Key': '{{api-key}}',
  'X-Oy-Username': '{{username}}',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/transaction-data/account/check-registration-status", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this, when the registration is in process:

{
    "permanent_token": null,
    "status": {
        "code": "102",
        "message": "Request is In progress"
    }
}

The above command returns JSON structured similar like this, when token on the payload is invalid:

{
    "permanent_token": null,
    "status": {
        "code": "237",
        "message": "Temporary token is invalid"
    }
}

The above command returns JSON structured similar like this, when the registration is success:

{
    "permanent_token": "f2eaf327ec23dac249d82dc75734941b5e3752f9583ab5752ca9292d6d4eb1dc",
    "status": {
        "code": "000",
        "message": "Success"
    }
}

Use this API to check the status of a bank account registration/linking process

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/transaction-data/account/check-registration-status
[Staging] UPCOMING

Header Parameters

Parameter Type Required Description
X-Oy-Username String TRUE Partner username
X-Api-Key String TRUE Partner API Key

Request Parameters

Parameter Type Required Description
registration_token string TRUE Registration token

Response Parameters

Parameter Type Description
permanent_token String The token to be used to retrieve users' banking historical transaction data
status Object The status of a bank account registration/linking process {code: <status_code>, message: <status_message>}

List of Response Codes

Code Description
000 Success
102 In progress
201 User is not found
202 User is not active
207 IP Address is not registered
208 API Key is not valid
237 Invalid temporary token
300 Failed
900 Unexpected error

List of Registered Accounts

  curl --location --request \
  POST 'https://partner.oyindonesia.com/api/transaction-data/account/registered-accounts' \
--header 'X-Api-Key: 1234' \
--header 'x-oy-username: satsat' \
--header 'Content-Type: application/json' \
--data-raw '{
    "partner_user_id": "username0001"
}'
var headers = {
  'X-Api-Key': '{{api-key}}',
  'x-oy-username': '{{username}}',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/transaction-data/account/registered-accounts'));
request.body = json.encode({
  "partner_user_id": "satria123"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/transaction-data/account/registered-accounts"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_user_id": "satria123"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("X-Api-Key", "{{api-key}}")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_user_id\": \"satria123\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/transaction-data/account/registered-accounts")
  .method("POST", body)
  .addHeader("X-Api-Key", "{{api-key}}")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_user_id": "satria123"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/transaction-data/account/registered-accounts");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/transaction-data/account/registered-accounts');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'X-Api-Key' => '{{api-key}}',
  'x-oy-username' => '{{username}}',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "partner_user_id": "satria123"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_user_id": "satria123"
})
headers = {
  'X-Api-Key': '{{api-key}}',
  'x-oy-username': '{{username}}',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/transaction-data/account/registered-accounts", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "data": [
        {
            "bank_code": "014",
            "account_numbers": [
                "0952736319"
            ],
            "permanent_token": "69e6a50a90d71f2191aab78b1a184acbb96b898a0b0833361cc45e9a0b5d7fcb",
            "linking_date": "2021-04-30 03:11:03",
            "account_status": "ACTIVE",
            "account_type": "INDIVIDUAL"
        },
        {
            "bank_code": "014",
            "account_numbers": [
                "0952736319"
            ],
            "permanent_token": "d2f61174a3c0c98c8f736a964e13b06865bde95cf88aebc264732593ebfe4a1e",
            "linking_date": "2021-04-29 06:47:45",
            "account_status": "ACTIVE",
            "account_type": "INDIVIDUAL"
        },
    ],
    "status": {
        "code": "000",
        "message": "Success"
    }
}

Use this API to retrieve bank accounts related information of a user ID that has been successfully linked to a user ID

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/transaction-data/account/registered-accounts
[Staging] UPCOMING

Header Parameters

Parameter Type Required Description
X-Oy-Username String TRUE Partner username
X-Api-Key String TRUE Partner API Key

Request Parameters

Parameter Type Required Description
partner_user_id String TRUE A unique identifier of a user which transaction data will be retrieved

Response Parameters

Parameter Type Description
data array of Object Array of registered account data { bank_code: string, bank_account_number: string[], permanent_token: string linking_date: string, account_status: string }
status Object The status of a bank account registration/linking process {code: <status_code>, message: <status_message>}

List of Response Codes

Code Description
000 Success
201 User is not found
202 User is not active
207 IP Address is not registered
208 API Key is not valid
244 Invalid partner user id
900 Unexpected error

Bank Codes

These are the lis of available bank on our API Transactions Data service:

Bank Code Bank Name Limitation
008 Mandiri Maximum of 12 months historical account statement data
014 BCA Maximum of 3 months historical account statement data
009 BNI Maximum of 6 months historical account statement data

Initialize Account Statement

  curl --location --request \
  POST 'https://partner.oyindonesia.com/api/transaction-data/account-statement/init' \
--header 'X-Api-Key: 1234' \
--header 'X-Oy-Username: satsat' \
--header 'Content-Type: application/json' \
--data-raw '{
    "account_number": "8691502376",
    "bank_code": "014",
    "account_type": "INDIVIDUAL",
    "start_date": "2021-02-13",
    "end_date": "2021-04-13",
    "permanent_token": "f2eaf327ec23dac249d82dc75734941b5e3752f9583ab5752ca9292d6d4eb1dc",
var headers = {
  'X-Api-Key': '{{api-key}}',
  'X-Oy-Username': '{{username}}',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/transaction-data/account-statement/init'));
request.body = json.encode({
  "account_number": "8691502376",
  "bank_code": "014",
  "account_type": "INDIVIDUAL",
  "start_date": "2021-02-13",
  "end_date": "2021-04-13",
  "permanent_token": "e57ff5bc6e6c6aaa0a13a2418e69a5e2e0e4190b68662533688680fd2192d0a7",
  "ignore_start_date": true
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/transaction-data/account-statement/init"
  method := "POST"

  payload := strings.NewReader(`{
    "account_number": "8691502376",
    "bank_code": "014",
    "account_type": "INDIVIDUAL",
    "start_date": "2021-02-13",
    "end_date": "2021-04-13",
    "permanent_token": "e57ff5bc6e6c6aaa0a13a2418e69a5e2e0e4190b68662533688680fd2192d0a7",
    "ignore_start_date": true
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("X-Api-Key", "{{api-key}}")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"account_number\": \"8691502376\",\n    \"bank_code\": \"014\",\n    \"account_type\": \"INDIVIDUAL\",\n    \"start_date\": \"2021-02-13\",\n    \"end_date\": \"2021-04-13\",\n    \"permanent_token\": \"e57ff5bc6e6c6aaa0a13a2418e69a5e2e0e4190b68662533688680fd2192d0a7\",\n    \"ignore_start_date\": true\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/transaction-data/account-statement/init")
  .method("POST", body)
  .addHeader("X-Api-Key", "{{api-key}}")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "account_number": "8691502376",
  "bank_code": "014",
  "account_type": "INDIVIDUAL",
  "start_date": "2021-02-13",
  "end_date": "2021-04-13",
  "permanent_token": "e57ff5bc6e6c6aaa0a13a2418e69a5e2e0e4190b68662533688680fd2192d0a7",
  "ignore_start_date": true
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/transaction-data/account-statement/init");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/transaction-data/account-statement/init');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'X-Api-Key' => '{{api-key}}',
  'X-Oy-Username' => '{{username}}',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "account_number": "8691502376",\n    "bank_code": "014",\n    "account_type": "INDIVIDUAL",\n    "start_date": "2021-02-13",\n    "end_date": "2021-04-13",\n    "permanent_token": "e57ff5bc6e6c6aaa0a13a2418e69a5e2e0e4190b68662533688680fd2192d0a7",\n    "ignore_start_date": true\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "account_number": "8691502376",
  "bank_code": "014",
  "account_type": "INDIVIDUAL",
  "start_date": "2021-02-13",
  "end_date": "2021-04-13",
  "permanent_token": "e57ff5bc6e6c6aaa0a13a2418e69a5e2e0e4190b68662533688680fd2192d0a7",
  "ignore_start_date": True
})
headers = {
  'X-Api-Key': '{{api-key}}',
  'X-Oy-Username': '{{username}}',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/transaction-data/account-statement/init", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this, when success:

{
    "account_statement_id": "ljhahd12je8sdca93",
    "status": {
        "code": "102",
        "message": "Preparing data"
    }
}

The above command returns JSON structured similar like this, when failed:

{
    "account_statement_id": null,
    "status": {
        "code": "101",
        "message": "Bank account not found"
    }
}

Use this API to initialize the account statement data to be fetched. Upon successful account statement initialization, Partner will receive a callback that a data is ready.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/transaction-data/account-statement/init
[Staging] UPCOMING

Header Parameters

Parameter Type Required Description
X-Oy-Username String TRUE Partner username
X-Api-Key String TRUE Partner API Key

Request Parameters

Parameter Type Required Description
bank_code String TRUE The bank code of the user's bank account (please refer to the Bank Codes section)
account_type String TRUE Type of bank accounts (currently only "Individual" is available)
account_number String TRUE The account number which data will be retrieved that has been successfully linked
start_date String TRUE Start date of account statement in "YYYY-MM-dd" format
end_date String TRUE End date of account statement in "YYYY-MM-dd" format
permanent_token String TRUE Permanent token to access credentials related to account number

Response Parameters

Parameter Type Description
account_statement_id Array of Object ID of account statement used for fetching the data, if the data is available
status Object The status of initialization account statement process {code: <status_code>, message: <status_message>}

List of Response Codes

Code Description
000 Success
101 Request is processed
201 User is not found
202 User is not active
207 IP Address is not registered
208 API Key is not valid
211 Bank code is not available for this service
238 Invalid permanent token
242 Start date tx data unavailable
300 Failed
900 Unexpected error
990 Invalid object or parameter

Get Account Statement

  curl --location --request \
  GET 'https://partner.oyindonesia.com/api/transaction-data/account-statement/mutations?id=ljhahd12je8sdca93&page=1' \
--header 'x-oy-username: satsat3' \
--header 'x-api-key: 1234' \
var headers = {
  'X-Oy-Username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/transaction-data/account-statement/mutations?id=f60e3cc3-2404-4c00-ba17-eacd690cf72b&page=1'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/transaction-data/account-statement/mutations?id=f60e3cc3-2404-4c00-ba17-eacd690cf72b&page=1"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/transaction-data/account-statement/mutations?id=f60e3cc3-2404-4c00-ba17-eacd690cf72b&page=1")
  .method("GET", null)
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/transaction-data/account-statement/mutations?id=f60e3cc3-2404-4c00-ba17-eacd690cf72b&page=1");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/transaction-data/account-statement/mutations?id=f60e3cc3-2404-4c00-ba17-eacd690cf72b&page=1');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'X-Oy-Username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'X-Oy-Username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("GET", "/api/transaction-data/account-statement/mutations?id=f60e3cc3-2404-4c00-ba17-eacd690cf72b&page=1", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this, when success:

{
  "data": [
    {
        "date": "2021-03-01",
        "description": "Transfer from Aldo Adiyasa",
        "type": "DB",
        "amount": 1000000
    }
  ],
  "status": {
    "code": "103",
    "message": "Data ready for retrieval"
  }
}

The above command returns JSON structured similar like this, when failed:

{
  "data": [],
  "status": {
    "code": "300",
    "message": "Failed"
  }
}

The above command returns JSON structured similar like this, when in progress:

{
  "data": [],
  "status": {
    "code": "102",
    "message": "Preparing data"
  }
}

Use this API to fetch transaction details based on initialized account statements

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/transaction-data/account-statement/mutations?id=[account_statement_id]&page=[page_number]
[Staging] UPCOMING

Header Parameters

Parameter Type Required Description
X-Oy-Username String TRUE Partner username
X-Api-Key String TRUE Partner API Key

Request Query Parameters

Parameter Type Required Description
id String TRUE Id of account statement
page Integer TRUE Pagination offset - each page contains max. of 1000 row of transactions

Response Parameters

Parameter Type Description
data Array of Object List of object { date: <timestamp>, id: <id>, description: <description>, type: <CR/DB>, amount: <amount> }
status Object The status of get account statement process {code: <status_code>, message: <status_message>}

List of Response Codes

Code Description
000 Success
101 Request is processed
201 User is not found
202 User is not active
207 IP Address is not registered
208 API Key is not valid
209 Bank account number is not found
211 Bank code is not available for this service
238 Invalid permanent token
239 Account statement is not found
240 Failed when trying to login to internet banking
242 Start date tx data unavailable
300 Failed
900 Unexpected error
990 Invalid object or parameter

Check Account Statement Status/Callback

  curl --location --request \
  POST 'https://partner.oyindonesia.com/api/transaction-data/account-statement/status' \
  --header 'X-Oy-Username: satsat' \
  --header 'x-api-key: 1234' \
  --header 'Content-Type: application/json' \
  --data-raw '{
      "id": "eb74c36d-efb3-4b98-97aa-ad23940e4cde",
      "send_callback": false
  }'
var headers = {
  'X-Oy-Username': '{{username}}',
  'x-api-key': '{{api-key}}',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/transaction-data/account-statement/status'));
request.body = json.encode({
  "id": "39064c75-6c46-48c3-9756-719e9b0d2081",
  "send_callback": false
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/transaction-data/account-statement/status"
  method := "POST"

  payload := strings.NewReader(`{
    "id": "39064c75-6c46-48c3-9756-719e9b0d2081",
    "send_callback": false
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"id\": \"39064c75-6c46-48c3-9756-719e9b0d2081\",\n    \"send_callback\": false\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/transaction-data/account-statement/status")
  .method("POST", body)
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "id": "39064c75-6c46-48c3-9756-719e9b0d2081",
  "send_callback": false
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/transaction-data/account-statement/status");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/transaction-data/account-statement/status');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'X-Oy-Username' => '{{username}}',
  'x-api-key' => '{{api-key}}',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "id": "39064c75-6c46-48c3-9756-719e9b0d2081",\n    "send_callback": false\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "id": "39064c75-6c46-48c3-9756-719e9b0d2081",
  "send_callback": False
})
headers = {
  'X-Oy-Username': '{{username}}',
  'x-api-key': '{{api-key}}',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/transaction-data/account-statement/status", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "total_transactions": 3000,
    "total_pages": 3,
    "status": {
        "code": "103",
        "message": "Data ready for retrieval"
    }
}

Use this API to check/re-send callbacks for initialized account statements. This endpoint should also be used to check how many pages an account statement has.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/transaction-data/account-statement/status
[Staging] UPCOMING

Header Parameters

Parameter Type Required Description
X-Oy-Username String TRUE Partner username
X-Api-Key String TRUE Partner API Key

Request Parameters

Parameter Type Required Description
id String TRUE Id of account statement
send_callback Boolean TRUE Flag to indicate if callback need to be resend or not

Response Parameters

Parameter Type Description
total_transactions Integer Amount of transactions in account statement
total_pages Integer Amount of pages in account statement
status Object The status of check status of get account statement process {code: <status_code>, message: <status_message>}

List of Response Codes

Code Description
000 Success
101 Request is processed
201 User is not found
202 User is not active
207 IP Address is not registered
208 API Key is not valid
209 Bank account number is not found
211 Bank code is not available for this service
238 Invalid permanent token
239 Account statement is not found
240 Failed when trying to login to internet banking
242 Start date tx data unavailable
300 Failed
900 Unexpected error
990 Invalid object or parameter

Account Deactivate Process

  curl --location --request \
  POST 'https://partner.oyindonesia.com/api/transaction-data/account/unlink' \
  --header 'X-Api-Key: 1234' \
  --header 'x-oy-username: satsat' \
  --header 'Content-Type: application/json' \
  --data-raw '{
      "permanent_token": "f2eaf327ec23dac249d82dc75734941b5e3752f9583ab5752ca9292d6d4eb1dc",
      "partner_user_id": "username0001"
  }'
var headers = {
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}',
  'Content-Type': 'application/json'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/transaction-data/account/unlink'));
request.body = json.encode({
  "permanent_token": "f7ad0693c203017d7991dd016aa2dc492855f5e5b947932d09959fb466710bc9",
  "partner_user_id": "username123"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/transaction-data/account/unlink"
  method := "POST"

  payload := strings.NewReader(`{
    "permanent_token": "f7ad0693c203017d7991dd016aa2dc492855f5e5b947932d09959fb466710bc9",
    "partner_user_id": "username123"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"permanent_token\": \"f7ad0693c203017d7991dd016aa2dc492855f5e5b947932d09959fb466710bc9\",\n    \"partner_user_id\": \"username123\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/transaction-data/account/unlink")
  .method("POST", body)
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "permanent_token": "f7ad0693c203017d7991dd016aa2dc492855f5e5b947932d09959fb466710bc9",
  "partner_user_id": "username123"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/transaction-data/account/unlink");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/transaction-data/account/unlink');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}',
  'Content-Type' => 'application/json'
));
$request->setBody('{\n    "permanent_token": "f7ad0693c203017d7991dd016aa2dc492855f5e5b947932d09959fb466710bc9",\n    "partner_user_id": "username123"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "permanent_token": "f7ad0693c203017d7991dd016aa2dc492855f5e5b947932d09959fb466710bc9",
  "partner_user_id": "username123"
})
headers = {
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/transaction-data/account/unlink", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
     "status": {
        "code": "000",
        "message": "Success"
    }
}

Use this API to revoke access to a user’s banking credential. This endpoint is mandatory for Partner to provide to its users so they can revoke Partner’s access to user’s banking information at anytime.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/transaction-data/account/unlink
[Staging] UPCOMING

Header Parameters

Parameter Type Required Description
X-Oy-Username String TRUE Partner username
X-Api-Key String TRUE Partner API Key

Request Parameters

Parameter Type Required Description
permanent_token String TRUE The token that is retrieved after successful linking
partner_user_id String TRUE A unique identifier of a user

Response Parameters

Parameter Type Description
status Object Status of account deactivate process {code: <status_code>, message: <status_message>}

List of Response Codes

Code Description
000 Success
201 User is not found
202 User is not active
207 IP Address is not registered
208 API Key is not valid
238 Invalid permanent token
900 Unexpected error

API E-Wallet Aggregator

E-Wallet Aggregator API allows partners to seamlessly charge and receive payments directly from top e-wallet issuers. With one integration, they are able to get access to all of OY’s available e-wallets ((OVO, ShopeePay, LinkAja, and DANA) and upcoming e-wallet integrations.

Create E-Wallet Transaction

Use this API to create an e-wallet transaction for your user

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/e-wallet-aggregator/create-transaction

[Staging] POST https://api-stg.oyindonesia.com/api/e-wallet-aggregator/create-transaction

Request Headers

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username

Request Parameters

curl -X POST \
  <%= config[:endpoint_prod] %>/api/e-wallet-aggregator/create-transaction \
  -H 'content-type: application/json' \
  -H 'accept: application/json' \
  -H 'x-api-key: yourapikey' \
  -H 'x-oy-username: yourusername' \
  -d '{
        "customer_id": "your_customer_user_id",
        "partner_trx_id": "YAYBC123456527",
        "sub_merchant_id": "sprx88989F",
        "amount": 125000,
        "email": "mirajane@yahoo.com",
        "ewallet_code": "dana_ewallet",
        "mobile_number": "628091486790",
        "success_redirect_url":"https://yourweb.com/usertx/123456",
        "expiration_time": 120
    }'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/e-wallet-aggregator/create-transaction'));
request.body = json.encode({
 "customer_id": "my_user_id",
 "partner_trx_id": "ABC123456527",
 "sub_merchant_id": "zx88989F",
 "amount": 75000,
 "email": "johndoe@gmail.com",
 "ewallet_code": "shopeepay_ewallet",
 "mobile_number": "6282114845847",
 "success_redirect_url":"https://myweb.com/usertx/123456",
 "expiration_time": 15
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/create-transaction"
  method := "POST"

  payload := strings.NewReader(`{
     "customer_id": "my_user_id",
     "partner_trx_id": "ABC123456527",
     "sub_merchant_id": "zx88989F",
     "amount": 75000,
     "email": "johndoe@gmail.com",
     "ewallet_code": "shopeepay_ewallet",
     "mobile_number": "6282114845847",
     "success_redirect_url":"https://myweb.com/usertx/123456",
     "expiration_time": 15
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"customer_id\": \"my_user_id\",\n\t\"partner_trx_id\": \"ABC123456527\",\n\t\"sub_merchant_id\": \"zx88989F\",\n\t\"amount\": 75000,\n\t\"email\": \"john.doe@email.com\",\n\t\"ewallet_code\": \"shopeepay_ewallet\",\n\t\"mobile_number\": \"6282114845847\",\n\t\"expiration_time\": 15,\n\t\"success_redirect_url\": \"https://myweb.com/usertx/123456\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/e-wallet-aggregator/create-transaction")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
    "customer_id": "my_user_id",
    "partner_trx_id": "ABC123456527",
    "sub_merchant_id": "zx88989F",
    "amount": 75000,
    "email": "johndoe@gmail.com",
    "ewallet_code": "shopeepay_ewallet",
    "mobile_number": "6282114845847",
    "success_redirect_url":"https://myweb.com/usertx/123456",
    "expiration_time": 15
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/create-transaction");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/e-wallet-aggregator/create-transaction');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
$request->setBody('{\n  "customer_id": "my_user_id",\n "partner_trx_id": "ABC123456527",\n "sub_merchant_id": "zx88989F",\n "amount": 75000,\n  "email": "johndoe@gmail.com",\n "ewallet_code": "shopeepay_ewallet",\n  "mobile_number": "6282114845847",\n "success_redirect_url":"https://myweb.com/usertx/123456",\n "expiration_time": 15\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "customer_id": "my_user_id",
  "partner_trx_id": "ABC123456527",
  "sub_merchant_id": "zx88989F",
  "amount": 75000,
  "email": "johndoe@gmail.com",
  "ewallet_code": "shopeepay_ewallet",
  "mobile_number": "6282114845847",
  "success_redirect_url":"https://myweb.com/usertx/123456",
  "expiration_time": 15
})
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("POST", "/api/e-wallet-aggregator/create-transaction", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "ewallet_trx_status": "WAITING_PAYMENT",
    "amount": 500000,
    "trx_id": "789467agf238893894rfcw7978iu7g7e",
    "customer_id": "my_user_id",
    "partner_trx_id": "ABC123456527",
    "ewallet_code": "shopeepay_ewallet",
    "ewallet_url": "https://someewalletlink.com"
}
Parameter Type Required Default Description
customer_id String(255) TRUE - ID generated by Partner for a specific user/customer
sub_merchant_id String(255) FALSE - ID generated by Partner for a specific sub-merchant
partner_trx_id String(255) TRUE - ID generated by Partner for a specific transaction
amount BigDecimal TRUE - Transaction amount. Min = 100. Max = 10,000,000
email String(255) FALSE - Customer's email
ewallet_code String(255) TRUE - The ewallet issuer that the customer will use to pay. Refer to table "E-Wallet Details" for the list of codes
mobile_number String(255) CONDITIONAL - Customer mobile number (format 628xxxxxxxxxx) used on their ewallet account. Only required if ewallet_code is equal to "ovo_ewallet"
success_redirect_url String(255) CONDITIONAL - Indicates the URL of your environment (to redirect the customers back once payment has been completed in e-wallet issuers.) Accepts HTTP links and URL scheme formats. Required if ewallet_code = DANA or LINKAJA or SHOPEEPAY.
expiration_time Long FALSE Maximum expiration time (in minutes) for each ewallet issuer Expiration time of the transaction in minute e.g If you want the transaction to be expired after 5 minutes, you just have to set expiration_time to 5. Each ewallet type might have different expiration time rule, please see table "E-Wallet Details"

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}. See table "Response Code" for more details
ewallet_trx_status String(20) Always filled with WAITING_PAYMENT if a transaction is successfully created
trx_id String(255) Filled with a unique transaction identifier from OY
ref_number String(255) Filled with a unique transaction identifier from OY, can also be used to mock callback in staging environment
customer_id String(255) ID generated by Partner for a specific user/customer
partner_trx_id String(255) ID generated by Partner for a specific transaction
amount String(255) Transaction amount
ewallet_code String(255) The ewallet issuer that the customer will use to pay. Refer to this for the list of available ewallet codes
ewallet_url String(255) EWallet URL generated by the the e-wallet issuers to be used for payment purposes

E-Wallet Transaction Callback

The E-Wallet Transaction Callback will be sent as a POST request (using JSON format) to your web hook. Please inform your Callback web hook to our business representative or to partner@oyindonesia.com

You will receive the callback when your user has successfully paid the e-wallet transaction. (Note: We send the callback ONLY for a successful transaction.

Callback for Delayed Settlement (Non-Real Time Settlement)

If your settlement is non-real time, for every transaction whose payment method is settled H+>0 from the time of transaction, you will receive two callbacks with details as follows:

  1. 1st Callback -> To be sent after your customer successfully executes the transaction. For example, if your customer executes the transaction on 11 May 2021 at 14:00:00, that is also when we send the 1st Callback to you. In the 1st callback, the settlement status is set to WAITING (because it is not yet settled to your Account Statement balance)
  2. 2nd Callback -> To be sent after the settlement status is changed from WAITING into SUCCESS. For example, if the settlement status is changed into SUCCESS on 12 May 2021 at 15:00:00, that is also when we send the 2nd Callback to you. In the 2nd callback, the settlement status is SUCCESS

Callback Parameters

Response callback:

{
    "success": true,
    "trx_id": "789467agf238893894rfcw7978iu7g7e",
    "customer_id": "my_user_id",
    "amount": 75000,
    "ewallet_code": "shopeepay_ewallet",
    "mobile_number": "6282114845847",
    "success_redirect_url": "https://myweb.com/usertx/123456",
    "settlement_time": "01/02/2020T15:00:00.000+0000",
    "settlement_status": "WAITING"
}
Parameter Type Description
success boolean The status of the payment and it is always set to to true
partner_trx_id String(255) ID generated by Partner for a specific transaction
trx_id String(255) Filled with a unique transaction identifier from OY
ref_number String(255) Filled with a unique transaction identifier from OY, can also be used to mock callback in staging environment
customer_id String(255) ID generated by Partner for a specific user/customer
amount BigDecimal Transaction amount
ewallet_code String(255) The ewallet issuer that the customer used to pay. Refer to this for the list of available ewallet codes
mobile_number String(255) Customer mobile number
success_redirect_url String(255) Indicates the URL of your environment (to redirect the customers back once payment has been completed in e-wallet issuers.)
settlement_time Timestamp The timestamp (in UTC+7) indicating when the fund will be settled to partner’s account statement, format dd/MM/yyyy'T'HH:mm:ss.SSSZZZZ
settlement_status String(255) Status of the settlement (e.g. success/waiting)

Check E-Wallet Transaction Status

Use this API to check the status of an e-wallet transaction.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/e-wallet-aggregator/check-status

[Staging] POST https://api-stg.oyindonesia.com/api/e-wallet-aggregator/check-status

Request Headers

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username

Request Parameters

curl -X POST \
  <%= config[:endpoint_prod] %>/api/e-wallet-aggregator/check-status \
  -H 'content-type: application/json' \
  -H 'accept: application/json' \
  -H 'x-api-key: apikeymu' \
  -H 'x-oy-username: yourusername' \
  -d '{
        "partner_trx_id": "ABC123456527"
    }'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/e-wallet-aggregator/check-status'));
request.body = json.encode({
 "partner_trx_id": "ABC123456527"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/check-status"
  method := "POST"

  payload := strings.NewReader(`{
     "partner_trx_id": "ABC123456527"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"partner_trx_id\": \"ABC123456527\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/e-wallet-aggregator/check-status")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
    "partner_trx_id": "ABC123456527"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/check-status");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/e-wallet-aggregator/check-status');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
$request->setBody('{\n  "partner_trx_id": "ABC123456527"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_trx_id": "ABC123456527"
})
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("POST", "/api/e-wallet-aggregator/check-status", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "ewallet_trx_status": "WAITING_PAYMENT",
    "amount": 500000,
    "trx_id": "789467agf238893894rfcw7978iu7g7e",
    "customer_id": "my_user_id",
    "partner_trx_id": "ABC123456527",
    "ewallet_code": "shopeepay_ewallet",
    "ewallet_url": "https://someewalletlink.com",
    "reason": "marked as WAITING_PAYMENT by creation service"
}
Parameter Type Required Default Description
partner_trx_id String(255) TRUE - ID generated by Partner for a specific transaction

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}
ewallet_trx_status String(20) Current transaction status, refer to "E-Wallet Transaction Status" for more details
trx_id String(255) Filled with a unique transaction identifier from OY
customer_id String(255) ID generated by Partner for a specific user/customer
partner_trx_id String(255) ID generated by Partner for a specific transaction
amount String(255) Transaction Amount
ewallet_code String(255) The ewallet issuer that the customer will use to pay.
ewallet_url String(255) EWallet URL passed from the e-wallet issuers to be used for payment purposes
reason String(255) Reason for the status given

Refund E-Wallet Transaction

Use this API to refund an e-wallet transaction that has been completed. Please refer to table E-wallet Details to see refund capability of each e-wallet vendor.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/e-wallet-aggregator/refund

[Staging] POST https://api-stg.oyindonesia.com/api/e-wallet-aggregator/refund

Request Headers

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username

Request Parameters

curl -X POST \
  <%= config[:endpoint_prod] %>/api/e-wallet-aggregator/refund \
  -H 'content-type: application/json' \
  -H 'accept: application/json' \
  -H 'x-api-key: yourapikey' \
  -H 'x-oy-username: yourusername' \
  -d '{
        "partner_trx_id": "ABC123456527",
        "refund_amount": 10000
    }'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/e-wallet-aggregator/refund'));
request.body = json.encode({
 "partner_trx_id": "ABC123456527",
 "refund_amount": 10000
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/refund"
  method := "POST"

  payload := strings.NewReader(`{
     "partner_trx_id": "ABC123456527",
     "refund_amount": 10000
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"partner_trx_id\": \"ABC123456527\",\n\t\"refund_amount\": 10000\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/e-wallet-aggregator/refund")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
    "partner_trx_id": "ABC123456527",
    "refund_amount": 10000
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/refund");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/e-wallet-aggregator/refund');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
$request->setBody('{\n  "partner_trx_id": "ABC123456527",\n "refund_amount": 10000\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_trx_id": "ABC123456527",
  "refund_amount": 10000
})
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("POST", "/api/e-wallet-aggregator/refund", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "refund_id": "REFUND123",
    "trx_id": "789467agf238893894rfcw7978iu7g7e",
    "partner_trx_id": "ABC123456527",
    "refund_amount": 10000,
    "refund_status": "REFUND_ONPROCESS"
}
Parameter Type Required Default Description
partner_trx_id String(255) TRUE - ID generated by Partner for a specific transaction
refund_amount BigDecimal TRUE - Amount to be refunded, must be greater than 0 and can't be greater than the e-wallet transaction amount

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}. See table "Response Code" for more details
refund_id String(255) Filled with a unique refund identifier from OY. You will get refund ID if your request is successfully passed to e-wallet vendor. This can be used as a request parameter to call get refund status API
trx_id String(255) Filled with a unique transaction identifier from OY
partner_trx_id String(255) ID generated by Partner for a specific transaction
refund_amount BigDecimal Requested refund amount
refund_status String(255) Filled with status of refund request, refer to "E-Wallet Refund Status" for more details

E-Wallet Refund Callback

The E-Wallet Refund Callback will be sent as a POST request (using JSON format) to your web hook. Please inform your Callback web hook to our business representative or to partner@oyindonesia.com

You will receive the callback when you request to refund an e-wallet transaction and your request is successfully passed to e-wallet vendor.

Callback Parameters

Response callback:

{
    "success": true,
    "refund_id": "REFUND123",
    "refund_status": "REFUNDED",
    "refund_amount": 10000
}
Parameter Type Description
success boolean Filled with true if refund is successfully processed by e-wallet vendor, and false if otherwise
refund_id String(255) Filled with a unique refund identifier from OY
refund_status String(255) Status of refund request, refer to "E-Wallet Refund Status" for more details
refund_amount BigDecimal Requested refund amount

Get E-Wallet Refund Status

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/e-wallet-aggregator/get-refund?refund_id=<refund_id>

[Staging] GET https://api-stg.oyindonesia.com/api/e-wallet-aggregator/get-refund?refund_id=<refund_id>

Request Headers

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username

Query Parameters

curl -X GET \
  <%= config[:endpoint_prod] %>/api/e-wallet-aggregator/get-refund?refund_id=<refund_id> \
  -H 'content-type: application/json' \
  -H 'accept: application/json' \
  -H 'x-api-key: yourapikey' \
  -H 'x-oy-username: yourusername'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/e-wallet-aggregator/get-refund?refund_id=<refund_id>'));
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/get-refund?refund_id=<refund_id>"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
Request request = new Request.Builder()
  .url("{{base_url}}/api/e-wallet-aggregator/get-refund?refund_id=<refund_id>")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/get-refund?refund_id=<refund_id>");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/e-wallet-aggregator/get-refund?refund_id=<refund_id>');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("GET", "/api/e-wallet-aggregator/get-refund?refund_id=<refund_id>", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "refund_id": "REFUND123",
    "refund_status": "REFUNDED",
    "refund_amount": 10000
}
Parameter Type Required Default Description
refund_id String(255) TRUE - Unique refund ID, you can get this once you have requested refund for an e-wallet transaction and the request is passed to e-wallet vendor

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}. See table "Response Code" for more details
refund_id String(255) Requested e-wallet refund ID
refund_status String(255) Status of refund request, refer to "E-Wallet Refund Status" for more details
refund_amount BigDecimal Requested refund amount

Get List of E-Wallet Refund

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id>

[Staging] GET https://api-stg.oyindonesia.com/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id>

Request Headers

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username

Query Parameters

curl -X GET \
  <%= config[:endpoint_prod] %>/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id> \
  -H 'content-type: application/json' \
  -H 'accept: application/json' \
  -H 'x-api-key: yourapikey' \
  -H 'x-oy-username: yourusername'
var headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id>'));
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id>"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("X-Oy-Username", "{{username}}")
  req.Header.Add("X-Api-Key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
Request request = new Request.Builder()
  .url("{{base_url}}/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id>")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("X-Oy-Username", "{{username}}")
  .addHeader("X-Api-Key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id>");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-Oy-Username", "{{username}}");
xhr.setRequestHeader("X-Api-Key", "{{api-key}}");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id>');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'X-Oy-Username' => '{{username}}',
  'X-Api-Key' => '{{api-key}}'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'Content-Type': 'application/json',
  'X-Oy-Username': '{{username}}',
  'X-Api-Key': '{{api-key}}'
}
conn.request("GET", "/api/e-wallet-aggregator/list-refund?partner_trx_id=<partner_trx_id>", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "total": 2,
    "data": [
        {
            "refund_id": "REFUND123",
            "refund_status": "REFUNDED",
            "refund_amount": 10000
        },
        {
            "refund_id": "REFUND456",
            "refund_status": "REFUND_FAILED",
            "refund_amount": 10000
        }
    ]
}
Parameter Type Required Default Description
partner_trx_id String(255) TRUE - ID generated by Partner for a specific transaction

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}. See table "Response Code" for more details
total Integer Total items
data Array of object List of Object {refund_id: <refund_id>, refund_status: <refund_status>, refund_amount: <refund_amount>}

E-Wallet Details

E-Wallet Issuer E-Wallet Code Minimum Expiration Time Maximum Expiration Time Redirection Feature Refund Support
OVO ovo_ewallet Parameter is ignored, always set to 55 seconds Parameter is ignored, always set to 55 seconds Not supported Not supported
ShopeePay shopeepay_ewallet 1 minute 60 minutes Support Support full refund only & can't do refund between 00.00 - 05.00 WIB
Linkaja linkaja_ewallet Parameter is ignored, always set to 5 minutes Parameter is ignored, always set to 5 minutes Support Support full refund only
DANA dana_ewallet 1 minute 60 minutes Support Support full and partial refund

E-Wallet Transaction Status

Status Trigger
WAITING_PAYMENT Transaction is successfully created and currently active
FAILED Payment failed
COMPLETE Payment successfully received
REFUNDED Payment successfully refunded
EXPIRED Expiration time is reached with no payment received

E-Wallet Refund Status

Status Description
REFUNDED Payment has been successfully refunded
REFUND_FAILED Refund request failed
REFUND_ONPROCESS Refund ongoing by e-wallet vendor
SUSPECTED Refund request failed on e-wallet vendor, balance is being checked

List of Status Codes

Response Code State Description
000 Final Response success without error
990 Final Request is Rejected (Parameter is invalid)
202 Final Request is Rejected (User is not active/registered for this feature)
203 Final Request is Rejected (Duplicate Partner Trx ID)
204 Final Request is Rejected (Partner Trx ID not found)
206 Final Request is Rejected (Balance is not enough)
207 Final Request is Rejected (Request IP Address is not Registered)
208 Final Request is Rejected (API Key is not Valid)
248 Non-Final Request is Rejected (Ewallet/Vendor Server Error)
250 Final Request is Rejected (EWallet code is not available)
251 Final Request is rejected (EWallet code is disabled)
252 Non-Final Request is rejected (Creation/Check Status/Refund request failed)
253 Final Request is Rejected (Partner credential not found or invalid on e-wallet server)
254 Final Request is Rejected (User credential not found, blocked, or invalid)
255 Final Request is Rejected (Refund ID is not found)
999 Non-Final Internal Server Error

List of HTTP Status Codes

HTTP Status Code Description
200 Response success without error
403 Forbidden (IP address is not whitelisted or request is deemed suspicious e.g SQL injection or XSS)
404 Not Found (wrong URL or wrong HTTP method)
429 Request Rejected (Too Many Request to specific endpoint)
500 Internal Server Error (OY! system encountered unknown error)
503 Service Unavailable (OY! system is unable to process the request temporarily)
504 Gateway Timeout (OY! system took too long processing the request and was unable to respond in time)

Payment Routing

Payment Routing offers you with end to end solutions from accept payment to disburse the money. You can disburse the money up to 10 recipients.

Payment Routing Base URL

[Production Base URL] : https://partner.oyindonesia.com
[Staging Base URL] : https://api-stg.oyindonesia.com

Create and Update Payment Routing

This endpoint will trigger the creation of payment routing and will be using the same API to handle the update requests.

curl --location --request POST 'https://partner.oyindonesia.com/api/payment-routing/create-transaction' \
--header 'Content-Type: application/json' \
--header 'x-oy-username: yourusername' \
--header 'x-api-key: apikeymu' \
--data-raw '{
    "partner_user_id": "USR-20211117-1029",
    "use_linked_account": false,
    "partner_trx_id": "TRX-20211117-1030",
    "need_frontend": false,
    "sender_email": "sender@gmail.com",
    "receive_amount": 14000,
    "list_enable_payment_method": "BANK_TRANSFER",
    "list_enable_sof": "002",
    "va_display_name": "partner_brand",
    "payment_routing": [{
        "recipient_bank": "014",
        "recipient_account": "1234567890",
        "recipient_amount": 10000,
        "recipient_email": "recipient_bca@gmail.com"
    }]
}'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'apikeymu'

};
var request = http.Request('POST', Uri.parse('https://partner.oyindonesia.com/api/payment-routing/create-transaction'));
request.body = json.encode({
  "partner_user_id": "USR-20211117-1029",
  "use_linked_account": false,
  "partner_trx_id": "TRX-20211117-1030",
  "need_frontend": false,
  "sender_email": "sender@gmail.com",
  "receive_amount": 14000,
  "list_enable_payment_method": "VA",
  "list_enable_sof": "002",
  "va_display_name": "partner_brand",
  "payment_routing": [
    {
      "recipient_bank": "014",
      "recipient_account": "1234567890",
      "recipient_amount": 10000,
      "recipient_email": "recipient_bca@gmail.com"
    }
  ]
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/payment-routing/create-transaction"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_user_id": "USR-20211117-1029",
    "use_linked_account": false,
    "partner_trx_id": "TRX-20211117-1030",
    "need_frontend": false,
    "sender_email": "sender@gmail.com",
    "receive_amount": 14000,
    "list_enable_payment_method": "BANK_TRANSFER",
    "list_enable_sof": "002",
    "va_display_name": "partner_brand",
    "payment_routing": [{
        "recipient_bank": "014",
        "recipient_account": "1234567890",
        "recipient_amount": 10000,
        "recipient_email": "recipient_bca@gmail.com"
    }]
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "yourusername")
  req.Header.Add("x-api-key", "apikeymu")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_user_id\": \"USR-20211117-1029\",\n    \"use_linked_account\": false,\n \"partner_trx_id\": \"TRX-20211117-1030\",\n    \"need_frontend\": false,\n    \"sender_email\": \"sender@gmail.com\",\n    \"receive_amount\": 14000,\n    \"list_enable_payment_method\": \"BANK_TRANSFER\",\n    \"list_enable_sof\": \"002\",\n    \"va_display_name\": \"partner_brand\",\n    \"payment_routing\": [{\n        \"recipient_bank\": \"014\",\n        \"recipient_account\": \"1234567890\",\n        \"recipient_amount\": 10000,\n        \"recipient_email\": \"recipient_bca@gmail.com\"\n    }]\n}");
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/payment-routing/create-transaction")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "yourusername")
  .addHeader("x-api-key", "apikeymu")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_user_id": "USR-20211117-1029",
  "use_linked_account": false,
  "partner_trx_id": "TRX-20211117-1030",
  "need_frontend": false,
  "sender_email": "sender@gmail.com",
  "receive_amount": 14000,
  "list_enable_payment_method": "BANK_TRANSFER",
  "list_enable_sof": "002",
  "va_display_name": "partner_brand",
  "payment_routing": [
    {
      "recipient_bank": "014",
      "recipient_account": "1234567890",
      "recipient_amount": 10000,
      "recipient_email": "recipient_bca@gmail.com"
    }
  ]
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://partner.oyindonesia.com/api/payment-routing/create-transaction");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "yourusername");
xhr.setRequestHeader("x-api-key", "apikeymu");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/payment-routing/create-transaction');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => 'yourusername',
  'x-api-key' => 'apikeymu'
));
$request->setBody('{\n    "partner_user_id": "USR-20211117-1029",\n  "use_linked_account": false,\n  "partner_trx_id": "TRX-20211117-1030",\n    "need_frontend": false,\n    "sender_email": "sender@gmail.com",\n    "receive_amount": 14000,\n    "list_enable_payment_method": "BANK_TRANSFER",\n    "list_enable_sof": "002",\n    "va_display_name": "partner_brand",\n    "payment_routing": [{\n        "recipient_bank": "014",\n        "recipient_account": "1234567890",\n        "recipient_amount": 10000,\n        "recipient_email": "recipient_bca@gmail.com"\n    }]\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("https://partner.oyindonesia.com", undefined)
payload = json.dumps({
  "partner_user_id": "USR-20211117-1029",
  "use_linked_account": False,
  "partner_trx_id": "TRX-20211117-1030",
  "need_frontend": False,
  "sender_email": "sender@gmail.com",
  "receive_amount": 14000,
  "list_enable_payment_method": "BANK_TRANSFER",
  "list_enable_sof": "002",
  "va_display_name": "partner_brand",
  "payment_routing": [
    {
      "recipient_bank": "014",
      "recipient_account": "1234567890",
      "recipient_amount": 10000,
      "recipient_email": "recipient_bca@gmail.com"
    }
  ]
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'apikeymu'
}
conn.request("POST", "/api/payment-routing/create-transaction", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "trx_id": "23a009f5-24ce-4567-96b3-03c42a0fb7ae",
    "partner_user_id": "USR-20211117-1029",
    "use_linked_account": false,
    "partner_trx_id": "TRX-20211117-1030",
    "receive_amount": 14000,
    "trx_expiration_time": "2021-12-02 18:59:31",
    "payment_method": "VA",
    "sender_bank": "009",
    "payment_info": {
        "va_number": "103406000000006289",
        "va_display_name": "partner_brand"
    }
}

HTTPS Request

Endpoint:
[Production] POST https://partner.oyindonesia.com/api/payment-routing/create-transaction
[Staging] POST https://api-stg.oyindonesia.com/api/payment-routing/create-transaction

Header

Field Description Example
x-oy-username Partner username username
x-api-key Partner api key 6e87432c-2726-11ec-9621-0242ac130002

Request Parameters

Parameter Type Required Default Description
partner_user_id String Applicable for VA and EWallet with need_frontend: false. If you want the VA to be reusable for each users (multiple use) or create EWallet Direct Payment transaction, you are required define this parameter. - Unique partner user id. Will automatically be generated if left empty on VA payment method with need_frontend: false. For EWallet Direct Payment, it is required to register partner_user_id using Account Linking API first.
use_linked_account Boolean Applicable for EWallet with need_frontend: false. false If true, then EWallet Direct Payment transaction will be created. Else, regular EWallet transaction will be created.
partner_trx_id String FALSE - Unique partner transaction ID. Will automatically be generated if left empty.
need_frontend Boolean TRUE - Partner need UI or not, if true, we will route to payment link, otherwise will be route to API-based solution.
list_enable_payment_method String; comma separated TRUE - To configure payment methods to be enabled in the payment method page.
list_enable_sof String; comma separated TRUE - To configure list of source of fund (banks or ewallets) to be enabled in the payment method page. For additional detail please refer to List Allowed Payment Methods and SOF
sender_email String CONDITIONAL - Email of sender. Required only when creating VA from Mandiri(008), Permata(013) or CIMB(022).
full_name String CONDITIONAL - Fill with the name of end-user that will pay this transaction. Required only when creating VA from Mandiri(008), Permata(013) or CIMB(022).
receive_amount Numeric TRUE - The amount of a transaction to be paid, min. amount is 10000, except if you use unique code BCA which has min. amount 11000 or CARDS which has min. amount 15000
va_display_name String FALSE Partner's brand name Display name for VA that will be displayed once user do inquiry. If empty VA name will be set using partner brand name. This parameter will be used only if you use BANK_TRANSFER payment method and routed to VA.
trx_expiration_time Date string; yyyy-mm-dd hh:mm:ss format (UTC+7) FALSE Refer to Default Expiration Time Set expiration time of transaction. Please refer to Transaction Expiration Time Guidelines
trx_counter Numeric FALSE 1/-1 A transaction counter to limit number of transaction that can be receive by va number. For example, if you put 3, it means that the VA number can only accept transaction 3 times. This parameter will be used only if you use BANK_TRANSFER payment method and routed to VA.
success_redirect_url String(512) CONDITIONAL - Indicates the URL of your environment to redirect customers back to once payment has been completed. Accepts both HTTP links and URL scheme formats. Required if payment method is either "EWALLET" or "CARDS", and need_frontend is set to false. Specific for Shopeepay Direct Payment, Shopeepay will redirect to this url based on the result of the payment. If the payment is successful, ShopeePay will send an additional param ?result=100 following the redirect url. Otherwise, ShopeePay will send additional param ?result=201 for failed payment (insufficient balance, wrong pin, link has been paid, or user click back button). Example: https://example.com/callback?result=100.
failed_redirect_url String(512) CONDITIONAL - Indicates the URL of your environment to redirect customers back to once payment cannot be completed. Accepts both HTTP links and URL scheme formats. Required if payment method is "CARDS", and need_frontend is set to false.
payment_routing List of Objects FALSE - List of disburse recipient; max. is 10
recipient_bank String TRUE - Bank code of the recipient account
recipient_account String TRUE - Recipient bank account number. For testing purpose, please see List of Disbursment Mock Account below
recipient_amount Numeric TRUE - The amount of transaction to be disbursed
recipient_note String TRUE - Notes for the disbursement
recipient_email String TRUE - Email for disbursement notification, email can be up to 5, seperated by a whitespace

Response Parameters

Parameter Type Description
status Object Status of response in Object
trx_id String Payment Routing ID defined by OY!
partner_user_id String Partner user ID that you defined in the request parameter
use_linked_account Boolean Applicable for EWallet with need_frontend: false. If true, the transaction created is an EWallet Direct Payment transaction (ShopeePay only). Else, it is a regular EWallet transaction.
partner_trx_id String Partner transaction ID that you defined in the request parameter
receive_amount Numeric amount to be received. If you use unique code BCA, this number will contain the amount to be received subtracted by 3 digits generated unique code.
trx_expiration_time Date string; yyyy-MM-dd HH:mm:ss format Transaction Expiration Time
payment_method String Only exist if request need_frontend is FALSE. The payment method used by user to complete a payment. Refer to Payment Method on List of Allowed Payment Methods and SOF
sender_bank String Only exist if request need_frontend is FALSE. The bank code used by a payer to do payment. Refer to SOF on List of Allowed Payment Methods and SOF
payment_info Object Payment info object
payment_checkout_url String generated url for payment link; conditional, only exist if request need_frontend is TRUE
account_number String Generated VA number if you use VA or account number destination if you use unique code BCA; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER
account_name String VA display name if you use VA or bank account's owner name if you use unique code BCA; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER
bank_code String Bank code for the destination VA number or bank account; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER
qris_url String the URL of QR image; conditional, only exist if request need_frontend is FALSE and payment_method is QRIS. This returned URL can only be accessed for 5 minutes after initial response was received, and is independent to the actual QRIS validity / expiration time.
ewallet_url String For use_linked_account: true: URL that prompt user to input PIN to authorize Direct Payment. For use_linked_account: false: A deep link URL that allows user to access the specific e-wallet vendor's application for making a payment. Currently, only Linkaja, ShopeePay and Dana are supported options. This attribute will only be present if the request parameter 'need_frontend' is set to 'FALSE' and the payment method selected is 'EWALLET'.
cards_url String URL that allows user to make payment using their Credit Card. This attribute will only be present if the request parameter 'need_frontend' is set to 'FALSE' and the payment method selected is 'CARDS'.
unique_code_detail Object Contains two objects of number: amount which is the requested amount and unique_code which is the generated 3 digits unique code ; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER and you use unique code BCA.
full_name String If full_name is needed when creating the transaction, the inputted full_name value at creation will be shown here.

List of Allowed Payment Methods and SOF

Below are the list and examples of possible values for both list_enable_payment_method and list_enable_sof based on the value of need_frontend. The requested SOF and/or payment method must be enabled on your account before your request is sent. Also note that the complete request examples provided only use need_frontend = false.

If need_frontend: true

The request should be filled with at least 1 list_enable_payment_method and 1 list_enable_sof.

Payment Method SOF
BANK_TRANSFER 002, 008, 009, 011, 014, 016, 022, 213, 451, 484
QRIS QRIS
EWALLET dana_ewallet, ovo_ewallet, shopeepay_ewallet, linkaja_ewallet
CARDS CC_DC

If you use BANK_TRANSFER payment method with BCA bank code (014) as sof, you can either be routed to use VA BCA or unique code BCA. If you are routed to unique code BCA, you can either use addition or subtraction approach by requesting to our business representative. For other sof with BANK_TRANSFER payment method, you will be routed to use VA

If need_frontend: false

The request should be filled only with 1 list_enable_payment_method and 1 list_enable_sof.

Payment Method SOF
BANK_TRANSFER 002, 008, 009, 011, 014, 016, 022, 213, 451, 484
QRIS QRIS
EWALLET dana_ewallet, shopeepay_ewallet, linkaja_ewallet
CARDS CC_DC

Examples

need_frontend Case list_enable_payment_method list_enable_sof
TRUE BANK_TRANSFER and QRIS BANK_TRANSFER,QRIS 008,451,QRIS,002
TRUE EWALLET, Credit Cards and BANK_TRANSFER EWALLET,CARDS,BANK_TRANSFER dana_ewallet,linkaja_ewallet,CARDS,484
FALSE BANK_TRANSFER Only BANK_TRANSFER 009
FALSE QRIS Only QRIS QRIS
FALSE EWALLET Only EWALLET dana_ewallet
FALSE CARDS Only CARDS CC_DC

Transaction Expiration Time Guidelines

The table below lists the valid expiration times for transactions based on the payment method and source of funds. Unless specified, the default expiration time is 24 hours and the minimum expiration time is 1 hour.

Payment Method SOF Default Expiration Time Expiration Time
QRIS QRIS 30 minutes Limited to 1 minute - 1 hour after the request is sent. The QRIS validity period is dynamic within the aforementioned limit.
EWALLET dana_ewallet, shopeepay_ewallet 60 minutes 1 minute - 60 minutes.
EWALLET linkaja_ewallet 5 minutes 5 minutes, regardless of the expiration time specified in the request.
EWALLET (Direct Payment) shopeepay_ewallet 30 minutes 30 minutes, regardless of the expiration time specified in the request
CARDS CC_DC 60 minutes 60 minutes, regardless of the expiration time specified in the request.
BANK_TRANSFER (unique code BCA only) 014 3 hours Limited to 1 minute - 3 hours after the request is sent, and maximum at 20:30 (UTC+7). If default expiration time (3 hours) exceeds 20:30, then the expiration time will be 20:30.

List of Disbursement Mock Account for Testing Purpose

Use those mock receiver bank account for testing Payment Routing purpose. To simulate all available status of Payment Routing, you can combine those mocked bank account numbers. For example, if you want to see INCOMPLETE status, put two recipients in the payment_routing object with mocked bank account number 1234567890 and 1234567891. For more information about payment Routing status, see List of Payment Routing section.

Mocked Account Number Mocked Disbursement Status
1234567890 SUCCESS
1234567891 FAILED
1234567892 FAILED FORCE CREDIT
1234567893 PENDING
1234567894 PENDING FORCE CREDIT

Check Status Payment Routing Transaction

And endpoint to check status of payment routing transaction.

curl --location --request POST 'https://partner.oyindonesia.com/api/payment-routing/check-status' \
--header 'Content-Type: application/json' \
--header 'x-oy-username: yourusername' \
--header 'x-api-key: apikeymu' \
--data-raw '{
    "partner_trx_id": "TRX-20211117-1030",
    "send_callback": true
}'

var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'apikeymu'
};
var request = http.Request('POST', Uri.parse('https://partner.oyindonesia.com/api/payment-routing/check-status'));
request.body = json.encode({
  "partner_trx_id": "TRX-20211117-1030",
  "send_callback": true
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}

package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/payment-routing/check-status"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_trx_id": "TRX-20211117-1030",
    "send_callback": true
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "yourusername")
  req.Header.Add("x-api-key", "apikeymu")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_trx_id\": \"TRX-20211117-1030\",\n    \"send_callback\": true\n}");
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/payment-routing/check-status")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "yourusername")
  .addHeader("x-api-key", "apikeymu")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_trx_id": "TRX-20211117-1030",
  "send_callback": true
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://partner.oyindonesia.com/api/payment-routing/check-status");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "yourusername");
xhr.setRequestHeader("x-api-key", "apikeymu");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/payment-routing/check-status');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => 'yourusername',
  'x-api-key' => 'apikeymu'
));
$request->setBody('{\n    "partner_trx_id": "TRX-20211117-1030",\n    "send_callback": true\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("https://partner.oyindonesia.com", undefined)
payload = json.dumps({
  "partner_trx_id": "TRX-20211117-1030",
  "send_callback": True
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'apikeymu'
}
conn.request("POST", "/api/payment-routing/check-status", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "trx_id": "23a009f5-24ce-4567-96b3-03c42a0fb7ae",
    "partner_user_id": "USR-20211117-1029",
    "use_linked_account": false,
    "partner_trx_id": "TRX-20211117-1030",
    "request_amount": 14000,
    "received_amount": 0,
    "payment_status": "WAITING_PAYMENT",
    "trx_expiration_time": "2021-12-02 18:59:31",
    "need_frontend": false,
    "payment_method": "VA",
    "sender_bank": "009",
    "payment_info": {
        "va_number": "103406000000006289",
        "va_display_name": "partner_brand"
    },
    "payment_routing": [
        {
            "recipient_bank": "014",
            "recipient_account": "1234567890",
            "recipient_account_name": "Katelin Bode",
            "recipient_amount": 10000.0000,
            "disbursement_trx_id": "35ff4e6b-e240-44b3-aff1-1151289e912e",
            "trx_status": "WAITING"
        }
    ]
}

HTTP Request

Endpoint:
[Production] POST https://partner.oyindonesia.com/api/payment-routing/check-status
[Staging] POST https://api-stg.oyindonesia.com/api/payment-routing/check-status

Header

Field Description Example
x-oy-username Partner username username
x-api-key Partner api key 6e87432c-2726-11ec-9621-0242ac130002

Request Parameter

Parameter Type Required Default Description
partner_trx_id String FALSE - Unique partner transaction ID
payment_reference_number String FALSE - Unique reference ID for QRIS transactions. The reference number is stated in the end user’s receipt/proof of transaction. Note that if a QRIS transaction is paid using OVO, the payment reference number is only the first 12 characters from the given transaction code
send_callback Boolean FALSE - If set true, we also send response as a callback to partner

Responses Parameter

Parameter Type Description
status Object Status of response in Object
trx_id String payment routing transaction id
partner_user_id String Partner user ID
partner_trx_id String Partner transaction ID
request_amount Numeric Amount requested to be paid by end user
received_amount Numeric Amount received. If user has paid, then the amount will be equal to request_amount. If you use unique code BCA, this number will contain the amount received subtracted by 3 digits generated unique code.
payment_status String Receive money status
trx_expiration_time Timestamp Transaction expiration time
payment_received_time Timestamp Indicates the time when payment routing is marked as COMPLETE (this parameter will only be sent once status of the payment routing is set to ‘COMPLETE’).
settlement_time String The timestamp (in UTC+7) indicating when the fund will be settled to partner’s account statement (this parameter will only be sent once status of the payment routing is set to ‘COMPLETE’).
settlement_status String The status of the settlement (this parameter will only be sent once status of the payment routing is set to ‘COMPLETE’).
settlement_type String Indicate if a transaction will be settled in realtime/non-realtime. (this parameter will only be sent once status of the payment routing is set to ‘COMPLETE’).
need_frontend Boolean Partner need UI or not, if true, we will route to payment link, otherwise will be routed to payment aggregator.
payment_method String The payment method used by user to complete a payment. Refer to Payment Method on List of Allowed Payment Methods and SOF
sender_bank String The bank code used by a payer to do payment. Refer to SOF on List of Allowed Payment Methods and SOF
payment_info Object Payment info Object
payment_checkout_url String generated url for payment link; conditional, only exist if request need_frontend is TRUE
account_number String Generated VA number if you use VA or account number destination if you use unique code BCA; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER
account_name String VA display name if you use VA or bank account's owner name if you use unique code BCA; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER
qris_url String the URL of QR image; conditional, only exist if request need_frontend is FALSE and payment_method is QRIS. This returned URL can only be accessed for 5 minutes after initial response was received, and is independent to the actual QRIS validity / expiration time.
payment_reference_number String Identifier of a payment attempt when the end user successfully completes the payment. The reference number is also stated in the end user’s receipt/proof of transaction. Note that if a QRIS transaction is paid using OVO, the payment reference number is only the first 12 characters from the given transaction code. Available for: QRIS
ewallet_url String For use_linked_account: true: URL that prompt user to input PIN to authorize Direct Payment. For use_linked_account: false: A deep link URL that allows user to access the specific e-wallet vendor's application for making a payment. Currently, only Linkaja, ShopeePay and Dana are supported options. This attribute will only be present if the request parameter 'need_frontend' is set to 'FALSE' and the payment method selected is 'EWALLET'.
cards_url String URL that allows user to make payment using their Credit Card. This attribute will only be present if the request parameter 'need_frontend' is set to 'FALSE' and the payment method selected is 'CARDS'.
unique_code_detail Object Contains two objects of number: amount which is the requested amount and unique_code which is the generated 3 digits unique code ; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER and you use unique code BCA.
payment_routing List of Object List of payment routing recipients. See row belows
recipient_bank String Bank code of the recipient account
recipient_account String Recipient's account number
recipient_account_name String Recipient's bank account name
recipient_amount Numeric The amount of transaction to be disbursed
recipient_email String; e-mail format Email for disbursement notification, email can be up to 5, seperated by a whitespace
disbursement_trx_id String Disbursement transaction id
disbursement_trx_notes String Disbursement Transaction notes
disbursement_trx_status String Disbursement transaction status. See List of Disbursement Status below
email_status String Email sending status; Possible status:- SENT- UNSENT

Partner Callback Payment Routing

Once user successfully do the payment, our system will make a callback via HTTP POST request to your system

Callback Structure for Payment Link (need_frontend = true)

{
    "trx_id": "23a009f5-24ce-4567-96b3-03c42a0fb7ae",
    "partner_trx_id": "TRX-20211117-1030",
    "receive_amount": 14000,
    "payment_status": "WAITING_PAYMENT",
    "trx_expiration_time": "2021-12-02 18:59:31",
    "need_frontend": false,
    "payment_method": "VA",
    "sender_bank": "009",
    "payment_info": {
        "payment_checkout_url": "https://pay.oyindonesia.com/12345678-9012-3456-7890-123456789012"
    },
    "payment_routing": [
        {
            "recipient_bank": "014",
            "recipient_account": "1234567890",
            "recipient_account_name": "Katelin Bode",
            "recipient_amount": 10000.0000,
            "disbursement_trx_id": "35ff4e6b-e240-44b3-aff1-1151289e912e",
            "trx_status": "WAITING"
        }
    ]
}

Callback Structure for VA

{
    "trx_id": "23a009f5-24ce-4567-96b3-03c42a0fb7ae",
    "partner_user_id": "USR-20211117-1029",
    "partner_trx_id": "TRX-20211117-1030",
    "receive_amount": 14000,
    "payment_status": "WAITING_PAYMENT",
    "trx_expiration_time": "2021-12-02 18:59:31",
    "need_frontend": false,
    "payment_method": "VA",
    "sender_bank": "009",
    "payment_info": {
        "account_number": "103406000000006289",
        "account_name": "partner_brand",
        "bank_code": "009"
    },
    "payment_routing": [
        {
            "recipient_bank": "014",
            "recipient_account": "1234567890",
            "recipient_account_name": "Katelin Bode",
            "recipient_amount": 10000.0000,
            "disbursement_trx_id": "35ff4e6b-e240-44b3-aff1-1151289e912e",
            "trx_status": "WAITING"
        }
    ]
}

Callback Structure for Unique Code

{
    "trx_id": "23a009f5-24ce-4567-96b3-03c42a0fb7ae",
    "partner_trx_id": "TRX-20211117-1030",
    "receive_amount": 14000,
    "payment_status": "WAITING_PAYMENT",
    "trx_expiration_time": "2021-12-02 18:59:31",
    "need_frontend": false,
    "payment_method": "BANK_TRANSFER",
    "sender_bank": "014",
    "payment_info": {
        "account_number": "123",
        "account_name": "PT. Dompet Harapan Bangsa",
        "bank_code": "014",
        "unique_code_detail": {
            "amount": 14123,
            "unique_code": 123,
            "unique_amount": 14000
        }
    },
    "payment_routing": [
        {
            "recipient_bank": "014",
            "recipient_account": "1234567890",
            "recipient_account_name": "Katelin Bode",
            "recipient_amount": 10000.0000,
            "disbursement_trx_id": "35ff4e6b-e240-44b3-aff1-1151289e912e",
            "trx_status": "WAITING"
        }
    ]
}

Callback Structure for QRIS

{
    "trx_id": "23a009f5-24ce-4567-96b3-03c42a0fb7ae",
    "partner_trx_id": "TRX-20211117-1030",
    "receive_amount": 14000,
    "payment_status": "WAITING_PAYMENT",
    "trx_expiration_time": "2021-12-02 18:59:31",
    "need_frontend": false,
    "payment_method": "QRIS",
    "sender_bank": "QRIS",
    "payment_info": {
        "qris_url": "https://qris.url.com",
        "payment_reference_number": "120345030342784191"
    },
    "payment_routing": [
        {
            "recipient_bank": "014",
            "recipient_account": "1234567890",
            "recipient_account_name": "Katelin Bode",
            "recipient_amount": 10000.0000,
            "disbursement_trx_id": "35ff4e6b-e240-44b3-aff1-1151289e912e",
            "trx_status": "WAITING"
        }
    ]
}

Callback Structure for E-wallet

{
    "trx_id": "23a009f5-24ce-4567-96b3-03c42a0fb7ae",
    "partner_trx_id": "TRX-20211117-1030",
    "receive_amount": 14000,
    "payment_status": "WAITING_PAYMENT",
    "trx_expiration_time": "2021-12-02 18:59:31",
    "need_frontend": false,
    "payment_method": "EWALLET",
    "sender_bank": "dana_ewallet",
    "payment_info": {
        "ewallet_url": "https://ewallet.url.com"
    },
    "payment_routing": [
        {
            "recipient_bank": "014",
            "recipient_account": "1234567890",
            "recipient_account_name": "Katelin Bode",
            "recipient_amount": 10000.0000,
            "disbursement_trx_id": "35ff4e6b-e240-44b3-aff1-1151289e912e",
            "trx_status": "WAITING"
        }
    ]
}

Callback Structure for Cards

{
    "trx_id": "23a009f5-24ce-4567-96b3-03c42a0fb7ae",
    "partner_trx_id": "TRX-20211117-1030",
    "receive_amount": 14000,
    "payment_status": "WAITING_PAYMENT",
    "trx_expiration_time": "2021-12-02 18:59:31",
    "need_frontend": false,
    "payment_method": "CARDS",
    "sender_bank": "CC_DC",
    "payment_info": {
        "card_url": "https://ccdc.link.com"
    },
    "payment_routing": [
        {
            "recipient_bank": "014",
            "recipient_account": "1234567890",
            "recipient_account_name": "Katelin Bode",
            "recipient_amount": 10000.0000,
            "disbursement_trx_id": "35ff4e6b-e240-44b3-aff1-1151289e912e",
            "trx_status": "WAITING"
        }
    ]
}

Callback for Delayed Settlement (Non-Real Time Settlement)

If your settlement is non-real time, for every transaction whose payment method is settled H+>0 from the time of transaction, you will receive two callbacks with details as follows:

  1. 1st Callback -> To be sent after your customer successfully executes the transaction. For example, if your customer executes the transaction on 11 May 2021 at 14:00:00, that is also when we send the 1st Callback to you. In the 1st callback, the settlement status is set to WAITING (because it is not yet settled to your Account Statement balance)
  2. 2nd Callback -> To be sent after the settlement status is changed from WAITING into SUCCESS. For example, if the settlement status is changed into SUCCESS on 12 May 2021 at 15:00:00, that is also when we send the 2nd Callback to you. In the 2nd callback, the settlement status is SUCCESS

Callback Parameter

Parameter Type Description
trx_id String payment routing transaction id
partner_user_id String Partner user ID
use_linked_account Boolean Applicable for EWallet with need_frontend: false. If true, the transaction created is an EWallet Direct Payment transaction. Else, it is a regular EWallet transaction.
partner_trx_id String Partner transaction ID
receive_amount String Amount to be received. If you use unique code BCA, this number will contain the amount to be received subtracted by 3 digits generated unique code.
payment_status String Receive money status
trx_expiration_time Timestamp Transaction expiration time
need_frontend Boolean Partner need UI or not, if true, we will route to payment link, otherwise will be routed to payment aggregator.
payment_received_time Timestamp Indicates the time when payment routing is marked as COMPLETE (this parameter will only be sent once status of the payment routing is set to ‘COMPLETE’).
settlement_time String The timestamp (in UTC+7) indicating when the fund will be settled to partner’s account statement (this parameter will only be sent once status of the payment routing is set to ‘COMPLETE’).
settlement_status String The status of the settlement (this parameter will only be sent once status of the payment routing is set to ‘COMPLETE’).
settlement_type String Indicate if a transaction will be settled in realtime/non-realtime. (this parameter will only be sent once status of the payment routing is set to ‘COMPLETE’).
payment_method String The payment method used by user to complete a payment. Refer to Payment Method on List of Allowed Payment Methods and SOF
sender_bank String The bank code used by a payer to do payment. Refer to SOF on List of Allowed Payment Methods and SOF
payment_info Object Payment info Object
payment_checkout_url String generated url for payment link; conditional, only exist if request need_frontend is TRUE
account_number String Generated VA number if you use VA or account number destination if you use unique code BCA; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER
account_name String VA display name if you use VA or bank account's owner name if you use unique code BCA; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER
qris_url String the URL of QR image; conditional, only exist if request need_frontend is FALSE and payment_method is QRIS. This returned URL can only be accessed for 5 minutes after initial response was received, and is independent to the actual QRIS validity / expiration time.
payment_reference_number String Identifier of a payment attempt when the end user successfully completes the payment. The reference number is also stated in the end user’s receipt/proof of transaction. Note that if a QRIS transaction is paid using OVO, the payment reference number is only the first 12 characters from the given transaction code. Available for: QRIS
ewallet_url String For use_linked_account: true: URL that prompt user to input PIN to authorize Direct Payment. For use_linked_account: false: A deep link URL that allows user to access the specific e-wallet vendor's application for making a payment. Currently, only Linkaja, ShopeePay and Dana are supported options. This attribute will only be present if the request parameter 'need_frontend' is set to 'FALSE' and the payment method selected is 'EWALLET'.
cards_url String URL that allows user to make payment using their Credit Card. This attribute will only be present if the request parameter 'need_frontend' is set to 'FALSE' and the payment method selected is 'CARDS'.
unique_code_detail Object Contains two objects of number: amount which is the requested amount and unique_code which is the generated 3 digits unique code ; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER and you use unique code BCA.
payment_routing List of Object List of payment routing recipients. See row belows
recipient_bank String Bank code of the recipient account
recipient_account String Recipient's account number
recipient_account_name String Recipient's bank account name
recipient_amount Numeric The amount of transaction to be disbursed
recipient_email String; e-mail format Email for disbursement notification, email can be up to 5, seperated by a whitespace
disbursement_trx_id String Disbursement transaction id
disbursement_trx_notes String Disbursement Transaction notes
disbursement_trx_status String Disbursement transaction status. See List of Disbursement Status below
email_status String Email sending status; Possible status:- SENT- UNSENT

List of Payment Routing Status

Status Description
CREATED For Payment Link, Payment Link has been created.
WAITING_PAYMENT For Payment Link, user already choose a payment method in payment link but has not done the payment yet. For VA, VA number has been created.
PAYMENT_IN_PROGRESS User has made a payment and currently being processed by OY!
DISBURSE_IN_PROGRESS Money has been successfuly received and is being forwared to each recipient.
COMPLETE Money has been successfully received by recipients.
INCOMPLETE Money received but forwarding money to recipients process is totally or partially failed.
EXPIRED Payment Link or VA number has been expired.

List of Disbursement Status

Status Description
WAITING When status payment routing: CREATED / WAITING_PAYMENT / PAYMENT_IN_PROGRESS
IN_PROGRESS Money is being forwared to each recipient.
PENDING Disbursement pending because of disbursement channel
PENDING_FORCE_CREDIT When force credit process is pending
SUCCESS Money has been successfully received by recipients.
CANCEL Not receiving any payment so system will automatically cancel sending money to recipients
FAILED Sending money to recipient process is failed
FAILED_FORCE_CREDIT When force credit process is failed

Payment Routing Response Codes

Below is the list of response codes for API Payment Routing:

Response Code State Description
000 Final Response success without error
400 Final Request is rejected (Amount is not valid)
400 Final Request is rejected (Amount is empty)
400 Final Request is rejected (Invalid list payment method)
400 Final Request is rejected (Invalid list source of fund)
400 Final Request is rejected (Success redirect url is empty)
400 Final Request is rejected (Failed redirect url is empty)
400 Final Request is rejected (Reusable VA is not supported for the requested SOF)
400 Final Request is rejected (Transaction using linked account is not supported for the requested SOF)
400 Final Request is rejected (Format expiration is yyyy-MM-dd HH:mm:ss and must be greater than 1 hour)
400 Final Request is rejected (Format expiration is yyyy-MM-dd HH:mm:ss and must be within valid interval for each e-wallet type)
400 Final Request is rejected (Format expiration is yyyy-MM-dd HH:mm:ss and must be between 1 minute and 1 hour)
400 Final Request is rejected (Format expiration is yyyy-MM-dd HH:mm:ss, must be between 1 minute and 3 hours and not exceed 20:30:00)
400 Final Request is rejected (Invalid config product disburse or acceptance)
400 Final Request is rejected (Invalid partner user id)
400 Final Request is rejected (Token is already expired.)
429 Final Request Rejected (Too Many Request to specific endpoint)
203 Final Request is rejected (Duplicate Partner Tx Id)
247 Final Request is rejected (Email is not valid)
901 Non Final General Error

Below is the list of HTTP Status Code for API Payment Routing:

HTTP Status Code Description
200 Response success without error
403 Forbidden (IP address is not whitelisted or request is deemed suspicious e.g SQL injection or XSS)
404 Not Found (wrong URL)
429 Request Rejected (Too Many Request to specific endpoint)
500 Internal Server Error (OY! system encountered unknown error)
503 Service Unavailable (OY! system is unable to process the request temporarily)
504 Gateway Timeout (OY! system took too long processing the request and was unable to respond in time)

API Multi Account Management

Multi Account Management APIs allow you to interact with parent/child accounts in OY.

Disburse with Child Balance

curl -X \
POST https://partner.oyindonesia.com/api/remit \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
-d '{
  "recipient_bank": "014", 
  "recipient_account": "1239812390", 
  "amount":125000, 
  "note":"Split lunch bill", 
  "partner_trx_id":"1234-asdf",
  "email" :"napoleon@email.com test@email.com",
  "child_balance":"Alice"
}'
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/remit'));
request.body = json.encode({
  "recipient_bank": "008",
  "recipient_account": "0201245681",
  "amount": 15000,
  "note": "Test API Disburse",
  "partner_trx_id": "OYON0000064",
  "email": "business.support@oyindonesia.com"
  "child_balance":"Alice"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/remit"
  method := "POST"

  payload := strings.NewReader(`{
    "recipient_bank": "008",
    "recipient_account": "0201245681",
    "amount": 15000,
    "note": "Test API Disburse",
    "partner_trx_id": "OYON0000064",
    "email": "business.support@oyindonesia.com"
    "child_balance":"Alice"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"recipient_bank\": \"008\",\n\t\"recipient_account\": \"0201245681\",\n\t\"amount\": 15000,\n\t\"note\": \"Test API Disburse\",\n\t\"partner_trx_id\": \"OYON0000064\",\n\t\"email\": \"business.support@oyindonesia.com\", \"child_balance\":\"Alice\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/remit")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "recipient_bank": "008",
  "recipient_account": "0201245681",
  "amount": 15000,
  "note": "Test API Disburse",
  "partner_trx_id": "OYON0000064",
  "email": "business.support@oyindonesia.com"
  "child_balance": "Alice"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/remit");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/remit');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n  "recipient_bank": "008",\n  "recipient_account": "0201245681",\n    "amount": 15000,\n  "note": "Test API Disburse",\n  "partner_trx_id": "OYON0000064",\n  "email": "business.support@oyindonesia.com",\n "child_balance": "Alice"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "recipient_bank": "008",
  "recipient_account": "0201245681",
  "amount": 15000,
  "note": "Test API Disburse",
  "partner_trx_id": "OYON0000064",
  "email": "business.support@oyindonesia.com"
  "child_balance": "Alice"
})
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/remit", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status":{
    "code":"101",
    "message":"Request is Processed"
  },
  "amount":125000,
  "recipient_bank":"014",
  "recipient_account":"1239812390",
  "trx_id":"ABC-456",
  "partner_trx_id":"1234-asdf",
  "timestamp":"16-10-2019 10:23:42"
}

Use this API to start disbursing money from child account to a specific beneficiary account.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/remit
[Staging] POST https://api-stg.oyindonesia.com/api/remit

Request Parameters

Parameter Type Required Description
recipient_bank String(255) TRUE Bank Code of the Beneficiary account, see Disbursement Bank Codes
recipient_account String(255) TRUE Beneficiary account number, numeric only
amount BigInteger TRUE Amount of disbursement (Accept Non-Decimal Number), min amount 10000
note String(255) FALSE Add Note to the payout
partner_trx_id String(255) TRUE Unique Payout ID for a specific request, generated by partner
email String(255) FALSE Email for invoice notification (Optional). Email can be more than one but not more that five separated by a whitespace.
child_balance String(255) FALSE Child username whom balance will be used for disbursement, if Multi Account Management config is active (Optional). By default will be using client’s own balance.

Response Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
amount BigInteger Amount of disbursement (Accept Non-Decimal Number)
recipient_bank String(255) Bank Code of the Beneficiary account, see Disbursement Bank Codes
recipient_account String(255) Beneficiary account number
trx_id String(36) Unique Payout ID from OY!. Partner can use this ID for settlement
partner_trx_id String(255) Unique Payout ID which partner put on the Request
timestamp String(19) Execution time of Disbursement in OY! system ("dd-MM-yyyy HH:mm:ss")

[Staging only]

You can replicate error response code (final) based on Fund Disbursement Response Codes by fill in recipient_account value using following format <desired response code>0000. Another value not following the format will be processed normally.

example:

a request with "recipient_account": "2100000" will return response with "status": { "code": "210", message": "Request is Rejected (Amount is not valid)"}

Get Child Balance

curl -X \
GET https://partner.oyindonesia.com/api/v1/multi-account/child/balance \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-OY-Username: janedoe' \
-H 'X-Api-Key: 7654321'
var headers = {
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}',
  'Content-Type': 'application/json',
  'Accept': 'application/json'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/v1/multi-account/child/balance'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/v1/multi-account/child/balance"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/v1/multi-account/child/balance")
  .method("GET", null)
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/v1/multi-account/child/balance");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/v1/multi-account/child/balance');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}',
  'Content-Type' => 'application/json',
  'Accept' => 'application/json'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}',
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}
conn.request("GET", "/api/v1/multi-account/child/balance", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status":{
    "code":"000",
    "message":"Success"
  },
  "data":{
    "balances":[
      {
        "username": "JohnDoe",
        "balance":100000000.0000,
        "pendingBalance":2000000.0000,
        "availableBalance":98500000.0000
      }
    ],
    "timeStamp":"10-12-2019 12:15:37"
  }
}

Use this API to get child balance.

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/v1/multi-account/child/balance?child_username=<child_username>
[Staging] GET https://api-stg.oyindonesia.com/api/v1/multi-account/child/balance?child_username=<child_username>

Request Parameters

Parameter Type Required Description
child_username String(255) FALSE Child username whom balance info will be returned. If not specified, all child balances will be returned.

Response Parameters

Parameter Type Description
status Object Status of Request in Object {code: <status_code>, message: <status_message>}
data Object Response data {balances: <balances>, timeStamp: <timeStamp>}
balances Array of Objects List of Objects consist of username of the child, balance, overdraftBalance, overbookingBalance, pendingBalance, and availableBalance
username String(255) Child username whom balance info is returned
balance BigDecimal Remaining balance (Accept non fraction number)
overdraftBalance BigDecimal Remaining overdraft balance (Accept non fraction number)
overbookingBalance BigDecimal Remaining overbooking balance (Accept non fraction number)
pendingBalance BigDecimal The cumulative balance of your pending transactions.
availableBalance BigDecimal The total cumulative money of Balance + Available Overdraft - Pending Balance that you can use for disbursement.
timeStamp String(19) Execution time of Request in OY! system ("dd-MM-yyyy HH:mm:ss").

API Send WhatsApp NEW

OY's API Collection for sending Whatsapp Notifications. Currently, WhatsApp can only be enabled for Payment Link and Invoice product. Contact your Business Representative if you'd like to activate this feature.

Use this API to send a payment link and/or invoice link through WhatsApp (using OY’s pre-defined template).

`curl -X POST \
  https://partner.oyindonesia.com/api/whatsapp/send-link \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'X-Api-Key: apikeymu' \
  -H 'X-Oy-Username: yourusername' \
  -d '{
        "partner_tx_id":"partnerTxId",
        "whatsapp_number":"621234567890"
    }'`
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/whatsapp/send-link'));
request.body = json.encode({
  "partner_tx_id":"partnerTxId",
  "whatsapp_number":"621234567890"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/whatsapp/send-link"
  method := "POST"

  payload := strings.NewReader(`{
        "partner_tx_id":"partnerTxId",
        "whatsapp_number":"621234567890"
    }`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\"partner_tx_id\": \"partnerTxId\",\n \"whatsapp_number\": \"621234567890\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/whatsapp/send-link")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_tx_id":"partnerTxId",
    "whatsapp_number":"621234567890"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/whatsapp/send-link");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/whatsapp/send-link');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n  "partner_tx_id": "partnerTxId",\n   "whatsapp_number": "621234567890"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_tx_id":"partnerTxId",
  "whatsapp_number":"621234567890"
})
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/whatsapp/send-link", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

JSON Response

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "data": {
        "partner_tx_id": "partnerTxId",
        "whatsapp_number": "621234567890",
        "success_queued": true,
        "message_id" : "98ndyfs98fdysdf98y-sdiufhnudfsh4hr9h8"
    }
}

[Production] POST https://partner.oyindonesia.com/api/whatsapp/send-link

[Staging] POST https://api-stg.oyindonesia.com/api/whatsapp/send-link

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username
Parameter Type Required Default Description
partner_tx_id String(255) TRUE - ID generated by Partner for a specific transaction
whatsapp_number String(255) TRUE - The WhatsApp number of your users. (format 628xxxxxxxxxx)
Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}.
data Object The API's response data in an Object, details are in the Response Data Parameters table.
Parameter Type Description
partner_tx_id String(255) ID generated by Partner for a specific transaction
whatsapp_number String(255) The WhatsApp number of your users. (format 628xxxxxxxxxx)
success_queued Boolean Filled with TRUE if a WA has successfully been successfully queued for sending
message_id String(255) Unique ID generated for each WhatsApp message being sent (null if unsuccessfully queued)

Callback WhatsApp Sending

Because of the asynchronous behavior of sending a WhatsApp message, we provide a callback for you to track the status of your message. To activate this feature please contact your business representative to provide a callback url to be sent to.

We can send multiple callback status updates for a single message depending on the situation. Each message is represented by the message_id we have provided. The general order of a successful callback status request will however be: sent -> delivered -> read

JSON Request Body

{
  "partner_tx_id": "8sd7ftbs97dgfdsg-dsfn87gsdf9b8",
  "whatsapp_number": "62123123123",
  "message_id": "987ntdsfs8dn7f8ds7fy-0bsd7ftsd08b7f",
  "status": "read"
}

Status Descriptions

Status Description
sent If the WhatsApp user blocks OY!'s WhatsApp business account, this status will be final and will not be updated (there will be no following callback status for the message). Otherwise, the status is possible to change into "delivered"
delivered Message has been delivered to the WhatsApp user but hasn't been read
read Message has been delivered to the WhatsApp user and has been read by the user. This status is final and will not be updated (there will be no following callback status for the message)
undelivered Message has not been delivered. This status is final and will not be updated (there will be no following callback status for the message)
failed Message has failed to be delivered. This status is final and will not be updated (there will be no following callback status for the message)

Callback Request Parameters

Parameter Type Description
partner_tx_id String(255) ID generated by partner for a specific transaction
whatsapp_number String(255) The WhatsApp number of your user (format: 62xxxxxxxx)
message_id String(255) Message ID of the individual message that we sent
status String(255) Status of the message. Possible values are as provided in the previous table

Biller API

Biller APIs allow you to instruct OY to do inquiry and pay bill to any available biller in Indonesia with ease and in real-time.

Bill Inquiry

curl -X \
POST https://partner.oyindonesia.com/api/v2/bill \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
-d '{
    "customer_id": "12345678910",
    "product_id": "plnprepaid",
    "partner_tx_id": "DEV123456789",
    "amount": null,
    "additional_data": null
}'
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/v2/bill'));
request.body = json.encode({
    "customer_id": "12345678910",
    "product_id": "plnprepaid",
    "partner_tx_id": "DEV123456789",
    "amount": null,
    "additional_data": null
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/v2/bill"
  method := "POST"

  payload := strings.NewReader(`{
    "customer_id": "12345678910",
    "product_id": "plnprepaid",
    "partner_tx_id": "DEV123456789",
    "amount": null,
    "additional_data": null
  }`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"customer_id\": \"12345678910\",\n\t\"product_id\": \"plnprepaid\",\n\t\"partner_tx_id\": \"DEV123456789\",\n\t\"amount\": null,\n\t\"additional_data\": null\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/v2/bill")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
    "customer_id": "12345678910",
    "product_id": "plnprepaid",
    "partner_tx_id": "DEV123456789",
    "amount": null,
    "additional_data": null
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/v2/bill");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/v2/bill');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n  "customer_id": "12345678910",\n  "product_id": "plnprepaid",\n  "partner_tx_id": "DEV123456789",\n  "amount": null,\n  "additional_data": null\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
    "customer_id": "12345678910",
    "product_id": "plnprepaid",
    "partner_tx_id": "DEV123456789",
    "amount": null,
    "additional_data": null
})
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/v2/bill", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status": {
    "code": "000",
    "message": "Success",
  },
  "data": {
    "tx_id": "12345-12345-12345-12345",
    "partner_tx_id": "DEV123456789",
    "product_id": "BPFI",
    "customer_id": "000372190053",
    "customer_name": "FIRDAUS", 
    "amount": 832500,
    "admin_fee": 2500,
    "additional_data": "{\"customer_id\":\"000372190053\",\"customer_name\":\"FIRDAUS\",\"total_amount\":835000}"
  },
}

Use this API to do Inquiry and get detail information on the Bill before paying.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/v2/bill
[Staging] POST https://api-stg.oyindonesia.com/api/v2/bill

Request Parameters

Parameter Type Required Description
customer_id String(255) TRUE Customer ID for specific biller product
product_id String(255) TRUE OY's Biller ID, see Biller Products List
partner_tx_id String(255) TRUE Unique Payout ID for a specific request, generated by partner
amount BigInteger FALSE Product denom/amount, only for PLN Prepaid 20.000, 50.000, 100.000, 200.000, 500.000, 1.000.000
additional_data String(255) FALSE Additonal data for BPJS (number of months) or PBB (tax year)

Response Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
data Object Data object that wraps the response parameters
tx_id String(36) Unique Payout ID from OY!. Partner can use this ID for settlement
customer_id String(255) Customer ID for specific biller product
product_id String(255) OY's Biller ID, see Biller Products List
partner_tx_id String(255) Unique Payout ID for a specific request, generated by partner
customer_name String(255) Customer Name from biller
amount BigDecimal Bill's amount (excluding admin fee).
admin_fee BigDecimal Bill's admin fee
additional_data Object Additional detailed data from biller

Pay Bill

curl -X \
POST https://partner.oyindonesia.com/api/v2/bill/payment \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
-d '{
  "partner_tx_id": "DEV123456789",
  "note": "Payment for bill #001"
}'
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('POST', Uri.parse('{{base_url}}/api/v2/bill/payment'));
request.body = json.encode({
  "partner_tx_id": "DEV123456789",
  "note": "Payment for bill #001"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/v2/bill/payment"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_tx_id": "DEV123456789",
    "note": "Payment for bill #001",
  }`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"partner_tx_id\": \"DEV123456789\",\n\t\"note\": \"Payment for bill #001\"\n}");
Request request = new Request.Builder()
  .url("{{base_url}}/api/v2/bill/payment")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_tx_id": "DEV123456789",
  "note": "Payment for bill #001"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "%7B%7Bbase_url%7D%7D/api/v2/bill/payment");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/v2/bill/payment');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
$request->setBody('{\n "partner_tx_id": "DEV123456789",\n "note": "Payment for bill #001"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = json.dumps({
  "partner_tx_id": "DEV123456789",
  "note": "Payment for bill #001"
})
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("POST", "/api/v2/bill/payment", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "101",
        "message": "In Progress",
    },
    "data": {
        "tx_id": "12345-12345-12345-12345",
        "customer_id": "000372190053",
        "product_id": "BPFI",
        "partner_tx_id": "DEV123456789",
        "note": "note for payment",
        "customer_name": "FIRDAUS", 
        "amount": 835000,
        "admin_fee": 2500,
    }
}

This API will enable you to do payment for your bill. You need to do inquiry first before calling this API.

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/v2/bill/payment
[Staging] POST https://api-stg.oyindonesia.com/api/v2/bill/payment

Request Parameters

Parameter Type Required Description
partner_tx_id String(255) TRUE Unique Payout ID for a specific request, generated by partner
note String(255) FALSE Partner defined note for bill payment

Response Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
data Object Data object that wraps the response parameters
tx_id String(36) Unique Payout ID from OY!. Partner can use this ID for settlement
customer_id String(255) Customer ID for specific biller product
product_id String(255) OY's Biller ID, see Biller Products List
partner_tx_id String(255) Unique Payout ID for a specific request, generated by partner
customer_name String(255) Customer Name from biller
note String(255) Partner defined note for bill payment
amount BigDecimal Bill's amount (excluding admin fee).
admin_fee BigDecimal Bill's admin fee

Partner Callback

Response callback:

{
  "status": {
    "code": "000",
    "message": "Success",
  },
  "data": {
    "tx_id": "12345-12345-12345-12345",
    "partner_tx_id": "DEV123456789",
    "product_id": "BPFI",
    "customer_id": "000372190053",
    "customer_name": "FIRDAUS", 
    "amount": 835000,
    "admin_fee": 2500,
    "note": "note for payment",
    "additional_data": "{\"customer_id\":\"000372190053\",\"customer_name\":\"FIRDAUS\",\"total_amount\":835000,\"receipt_code\":\"123123123123\",\"settlement_date\":\"2020-10-1917:16:17\"}"
  },
}

Once a bill payment request has finished, our system will make a callback status of that payment request to your system

Please contact us and submit a callback URL if you need a callback status of a bill payment request.

Callback Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
data Object Data object that wraps the response parameters
tx_id String(36) Unique Payout ID from OY!. Partner can use this ID for settlement
customer_id String(255) Customer ID for specific biller product
product_id String(255) OY's Biller ID, see Biller Products List
partner_tx_id String(255) Unique Payout ID for a specific request, generated by partner
customer_name String(255) Customer Name from biller
amount BigDecimal Bill's amount (excluding admin fee).
admin_fee BigDecimal Bill's admin fee
additional_data Object Additional detailed data from biller
note String(255) Partner defined note for bill payment

Get Bill Payment Status

curl -X \
GET https://partner.oyindonesia.com/api/v2/bill/status?partner_tx_id=partner-tx-id-001 \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/v2/bill/status?partner_tx_id=partner-tx-id-001'));
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/v2/bill/status?partner_tx_id=partner-tx-id-001"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")
  req.Header.Add("x-oy-username", "{{username}}")
  req.Header.Add("x-api-key", "{{api-key}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/v2/bill/status?partner_tx_id=partner-tx-id-001")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .addHeader("x-oy-username", "{{username}}")
  .addHeader("x-api-key", "{{api-key}}")
  .build();
Response response = client.newCall(request).execute();

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/v2/bill/status?partner_tx_id=partner-tx-id-001");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("x-oy-username", "{{username}}");
xhr.setRequestHeader("x-api-key", "{{api-key}}");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/v2/bill/status?partner_tx_id=partner-tx-id-001');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'x-oy-username' => '{{username}}',
  'x-api-key' => '{{api-key}}'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
payload = ''
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'x-oy-username': '{{username}}',
  'x-api-key': '{{api-key}}'
}
conn.request("GET", "/api/v2/bill/status?partner_tx_id=partner-tx-id-001", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status": { 
    "code": "000",
    "message": "Success",
  },
  "data": {
    "tx_id":"12345-12345-12345-12345", 
    "partner_tx_id": "DEV123456789",
    "product_id": "BPFI",
    "customer_id": "000372190053",
    "customer_name": "FIRDAUS", 
    "amount": 835000, 
    "admin_fee": 2500, 
    "status": "SUCCESS",
    "tx_status_description": "",
    "additional_data": "{\"customer_id\":\"000372190053\",\"customer_name\":\"FIRDAUS\",\"total_amount\":835000,\"receipt_code\":\"123123123123\",\"settlement_date\":\"2020-10-1917:16:17\"}"
  }
}

This endpoint allows you to get the status of an inquiried bill.

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/v2/bill/status?partner_tx_id=<partner_tx_id>
[Staging] GET https://api-stg.oyindonesia.com/api/v2/bill/status?partner_tx_id=<partner_tx_id>

Request Parameters

Parameter Type Required Description
partner_tx_id String(255) TRUE Unique Payout ID which partner put on scheduled disburse creation

Response Parameters

Parameter Type Description
status Object Status of Check Status hit in Object {code: <status_code>, message: <status_message>}
data Object Data object that wraps the response parameters
tx_id String(36) Unique Payout ID from OY!. Partner can use this ID for settlement
customer_id String(255) Customer ID for specific biller product
product_id String(255) OY's Biller ID, see Biller Products List
partner_tx_id String(255) Unique Payout ID for a specific request, generated by partner
customer_name String(255) Customer Name from biller
amount BigDecimal Bill's amount (excluding admin fee).
admin_fee BigDecimal Bill's admin fee
additional_data Object Additional detailed data from biller
status String Biller Transaction Status, Refer to API Biller Status
tx_status_description String Error reason if exists, field is blank if status is SUCCESS

Get Bill Products List

curl -X \
GET https://partner.oyindonesia.com/api/v2/bill/products \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'x-oy-username:myuser' \
-H 'x-api-key:987654' \
var headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
};
var request = http.Request('GET', Uri.parse('{{base_url}}/api/v2/bill/products'));
request.body = json.encode({
  "partner_tx_id": "partner-tx-id-001"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "%7B%7Bbase_url%7D%7D/api/v2/bill/products"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Accept", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("{{base_url}}/api/v2/bill/products")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .build();
Response response = client.newCall(request).execute();
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "%7B%7Bbase_url%7D%7D/api/v2/bill/products");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{base_url}}/api/v2/bill/products');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Accept' => 'application/json'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("{{base_url}}")
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}
conn.request("GET", "/api/v2/bill/products", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status": { 
    "code": "000",
    "message": "Success",
  },
  "data": {
    "product_list": [
      {
        "product_id": "plnpre",
        "description": "pln prepaid",
        "admin_fee": 2500.0000,
        "amount": 50000.0000,
        "is_available": true
      },
      ...
  }
}

This endpoint allows you to get the list of bill products available.

HTTPS Request

[Production] GET https://partner.oyindonesia.com/api/v2/bill/products
[Staging] GET https://api-stg.oyindonesia.com/api/v2/bill/products

Response Parameters

Parameter Type Description
status Object Status of Payout in Object {code: <status_code>, message: <status_message>}
data Object Data object that wraps the response parameters
product_list Array of Object List of API Biller Product Object
product_id String(255) OY's Biller ID, see Biller Products List
description String(255) Product Description / Name
amount BigDecimal Bill's amount (excluding admin fee).
admin_fee BigDecimal Bill's admin fee
is_available Boolean Product availabilty

API Biller Response Codes

These are the list of possible response codes for API Biller:

Status State Meaning
000 Final Inquiry or Payment Request has been completed (SUCCESS)
102 Non-Final Request is In Progress
300 Final Transaction Failed (FAILED)
302 Final Customer ID Not Found (FAILED)
303 Final Product Not Exist or Not Available (FAILED)
304 Final Invalid Data (FAILED)
305 Final Customer ID Already Paid (FAILED)
306 Final System on the Cut-off Schedule (FAILED)
307 Final Biller System Error (FAILED)
400 Non-Final Transaction Pending (PENDING)

The following status codes are for rejected requests

Status State Meaning
201 Final Request is Rejected (User ID is not Found)
202 Final Request is Rejected (User ID is not Active)
203 Final Request is Rejected (Duplicate Partner Tx ID)
204 Final Request is Rejected (Partner Tx ID is Not Found)
205 Final Request is Rejected (Biller product_id is not available at this moment)
206 Final Request is Rejected (Partner Deposit Balance is Not Enough)
207 Final Request is Rejected (Request IP Address is not Registered)
208 Final Request is Rejected (API Key is not Valid)
210 Final Request is Rejected (Invalid denom amount request)
223 Final Request is Rejected (Duplicate payment request)
290 Final Request is Rejected (Parameter / object is not valid)
999 Final Internal Server Error

API Biller Status

These are all the status that apply to API Biller product

Status Meaning
INQUIRY Bill has been inquired and may be paid
IN_PROGRESS Processing payment request to biller provider
PENDING Unknown status from biller provider and will be resolved manually
SUCCESS Bill payment success
FAILED Bill payment failed

Mock Value for Staging

Inquiry

You can mock the inquiry to return failed status. To do this, fill in the customer_id to any number with the last number being 9. When inquiring this customer id to any product, it will return failed response. customer_id with last character other than 9 will return success inquiry.

example:

a request with "customer_id": "123456789" will mock the inquiry to return failed inquiry status with reason Internal Server Error.
a request with "customer_id": "1234563059" will mock the inquiry to return failed inquiry status with reason Bill is Already Paid or Not Found.
a request with "customer_id": "1234563029" will mock the inquiry to return failed inquiry status with reason Customer Id is Not Found. a request with "customer_id": "987654321" will return success inquiry.

Payment

You can replicate error response code (final) by filling in customer_id value using following format <desired response code>0000. Another value not following the format will be processed normally. The response codes that are available are 300 for FAILED, and 301 for PENDING.

example:

a request with "customer_id": "3010000" will mock the payment callback to return pending status.

Test Scenario

To test out all scenarios of API Biller and ensure the flows in your integration are handled correctly, please visit this link

Biller Products List

Here is the list of available bill products in our Biller Service

Insurance

Product Id Product Description
bpjsks BPJS KESEHATAN
bpjs-ketenagakerjaan BPJS KETENAGAKERJAAN
bpjs-denda BPJS DENDA
asrjws ASURANSI JIWASRAYA/ASURANSI IFG LIFE
asrtokios TOKIO MARINE
asrbint1 ASURANSI BINTANG PAKET 1
asrbint2 ASURANSI BINTANG PAKET 2
asrcar CENTRAL ASIA RAYA
asrpru PRUDENTIAL PREMI LANJUTAN

PLN

Product Id Product Description
plnpost PLN POSTPAID
plnpre PLN PREPAID

Internet

Product Id Product Description
telkom TELKOM / TELKOM SPEEDY
myrepublic MYREPUBLIC
cbn CBN
centrin-online CENTRIN ONLINE
comet-internet MYREPUBLIC
indihome INDIHOME
mnc-play MNC PLAY

TV Cable

Product Id Product Description
tvbig BIG TV
tvindvs INDOVISION
tvindvs TOPTV
tvindvs OKEVISION
tvnex NEX MEDIA
tvtlkmv TRANSVISION
tvtlkmv TELKOMVISION
tvtlkmv YESTV
tvtopas TOPAS TV
k-vision K VISION
mnc-vision MNC VISION

Multifinance

Product Id Product Description
alf AL IJARAH FINANCE
apf ARTHA PRIMA FINANCE
bpfi BATAVIA FINANCE
bmf BIMA FINANCE
bprkm BPR KM
bprnbp BPR NBP
citra CAKRAWALA CITRAMEGA MULTIFINANCE
edv ESTA DANA VENTURA
jgdr JAGADIRI
cvk KOPERASI ANUGRAH MEGA MANDIRI
nrc KOPERASI NRC
mdl MANDALA
mtf MANDIRI TUNAS FINANCE
maf MEGA AUTO FINANCE
mcf MEGA CENTRAL FINANCE
mf MEGA FINANCE
mbf MIZUHO BALIMOR FINANCE
pmt PERMATA FINANCE
dtpr PRIMA PEGADAIAN
dtpu PUTRA PEGADAIAN
smmf SINARMAS
smf SMART FINANCE
sol SOLITE
top TOP FINANCE
tpf TRANS PACIFIC
trh TRIHAMAS FINANCE

PDAM

Product Id Product Description
pdamkab.mojokerto PDAM KAB MOJOKERTO
pdamkab.sidoarjo PDAM KAB SIDOARJO
pdamkab.bojonegoro PDAM KAB BOJONEGORO
pdamkab.malang PDAM KAB MALANG
pdamkab.bogor PDAM KAB BOGOR
pdamaetra PDAM AETRA
pdampalyja PDAM PALYJA
pdamkab.bandung PDAM BANDUNG KOT
pdamkab.bangkalan PDAM BANGKALAN KAB
pdamkab.cilacap PDAM CILACAP KAB
pdamkab.jember PDAM JEMBER KAB
pdamkot.lampung PDAM LAMPUNG KOT
pdamkot.mataram PDAM MATARAM KOT
pdamkot.palembang PDAM PALEMBANG KOT
pdamkab.semarang PDAM SEMARANG KAB
pdamkot.surabaya PDAM SURABAYA KOT
pdamkab.tapin PDAM TAPIN KAB
pdamketapang PDAM KETAPANG
pdammakasar PDAM MAKASAR

PBB

Product Id Product Description
pbbdki.jakarta PBB DKI JAKARTA
pbbkab.bandung PBB KAB. BANDUNG
pbbkab.bandungbarat PBB KAB. BANDUNG BARAT
pbbkab.banjarnegara PBB KAB. BANJAR NEGARA
pbbkab.banyumas PBB KAB. BANYUMAS
pbbkab.batang PBB KAB. BATANG
pbbkab.bekasicikarang PBB KAB. BEKASI CIKARANG
pbbkab.blora PBB KAB. BLORA
pbbkab.bogorcibinong PBB KAB. BOGOR CIBINONG
pbbkab.boyolali PBB KAB BOYOLALI
pbbkab.brebes PBB KAB. BREBES
pbbkab.ciamis PBB KAB. CIAMIS
pbbkab.cianjur PBB KAB. CIANJUR
pbbkab.cilacap PBB KAB. CILACAP
pbbkab.cirebon PBB KAB. CIREBON
pbbkab.demak PBB KAB. DEMAK
pbbkab.garut PBB KAB. GARUT
pbbkab.grobogan PBB KAB. GROBOGAN
pbbkab.indramayu PBB KAB. INDRAMAYU
pbbkab.jepara PBB KAB. JEPARA
pbbkab.karangayar PBB KAB. KARANGAYAR
pbbkab.karawang PBB KAB. KARAWANG
pbbkab.kebumen PBB KAB. KEBUMEN
pbbkab.kendal PBB KAB. KENDAL
pbbkab.klaten PBB KAB. KLATEN
pbbkab.kudus PBB KAB. KUDUS
pbbkab.kuningan PBB KAB. KUNINGAN
pbbkab.lebak PBB KAB. LEBAK
pbbkab.magelang PBB KAB. MAGELANG
pbbkab.majalengka PBB KAB. MAJALENGKA
pbbkab.pandeglang PBB KAB. PANDEGLANG
pbbkab.pangandaran PBB KAB. PANGANDARAN
pbbkab.pati PBB KAB.PATI
pbbkab.pekalongan PBB KAB. PEKALONGAN
pbbkab.pemalang PBB KAB. PEMALANG
pbbkab.purbalingga PBB KAB.PURBALINGGA
pbbkab.purwakarta PBB KAB. PURWAKARTA
pbbkab.purworejo PBB KAB. PURWOREJO
pbbkab.rembang PBB KAB. REMBANG
pbbkab.semarang PBB KAB. SEMARANG
pbbkab.serang PBB KAB. SERANG
pbbkab.sragen PBB KAB. SRAGEN
pbbkab.subang PBB KOTA SUBANG
pbbkab.sukabumi PBB KAB. SUKABUMI
pbbkab.sukaharjo PBB KAB. SUKAHARJO
pbbkab.sumedang PBB KAB. SUMEDANG
pbbkab.tangerang PBB KAB. TANGERANG
pbbkab.tasikmalaya PBB KAB. TASIKMALAYA
pbbkab.tegal PBB KAB.TEGAL
pbbkab.temanggung PBB KAB. TEMANGGUNG
pbbkab.wonogiri PBB KAB.WONOGIRI
pbbkab.wonosobo PBB KAB. WONOSOBO
pbbkot.banjar PBB KOTA BANJAR
pbbkot.bekasi PBB KOTA BEKASI
pbbkot.bogor PBB KOTA BOGOR
pbbkot.cilegon PBB KOTA CILEGON
pbbkot.cimahi PBB KOTA CIMAHI
pbbkot.cirebon PBB KOTA CIREBON
pbbkot.depok PBB KOTA DEPOK
pbbkot.magelang PBB KOTA MAGELANG
pbbkot.pekalongan PBB KOTA PEKALONGAN
pbbkot.pekanbaru PBB KOTA PEKAN BARU
pbbkot.salatiga PBB KOTA SALATIGA
pbbkot.semarang PBB KOTA SEMARANG
pbbkot.serang PBB KOTA SERANG
pbbkot.sukabumi PBB KOTA SUKABUMI
pbbkot.surakarta PBB KOTA SURAKARTA
pbbkot.tangerang PBB KOTA TANGERANG
pbbkot.tangerangselatan PBB KOTA TANGERANG SELATAN
pbbkot.tasikmalaya PBB KOTA TASIKMALAYA

Voucher Pulsa

Product Id Product Description
as100 PULSA AS 100.000
as10 PULSA AS 10.000
as25 PULSA AS 25.000
as50 PULSA AS 50.000
as5 PULSA AS 5.000
sim100 PULSA SIMPATI 100.000
sim10 PULSA SIMPATI 10.000
sim20 PULSA SIMPATI 20.000
sim50 PULSA SIMPATI 50.000
sim5 PULSA SIMPATI 5.000
mr20 PULSA MENTARI REGULAR 20.000
mr100 PULSA MENTARI REGULAR 100.000
mr10 PULSA MENTARI REGULAR 10.000
mr25 PULSA MENTARI REGULAR 25.000
mr50 PULSA MENTARI REGULAR 50.000
mr5 PULSA MENTARI REGULAR 5.000
imr100 PULSA IM3 REGULAR 100.000
imr10 PULSA IM3 REGULAR 10.000
imr25 PULSA IM3 REGULAR 25.000
imr50 PULSA IM3 REGULAR 50.000
imr5 PULSA IM3 REGULAR 5.000
imr20 PULSA IM3 REGULAR 20.000
axp100 PULSA AXIS 100.000
axp10 PULSA AXIS 10.000
axp25 PULSA AXIS 25.000
axp50 PULSA AXIS 50.000
axp5 PULSA AXIS 5.000
xlv100 PULSA XL VOUCHER 100.000
xlv10 PULSA XL VOUCHER 10.000
xlv25 PULSA XL VOUCHER 25.000
xlv50 PULSA XL VOUCHER 50.000
xlv5 PULSA XL VOUCHER 5.000
sf5 PULSA SMARTFREN 5.000
sf10 PULSA SMARTFREN 10.000
sf20 PULSA SMARTFREN 20.000
sf25 PULSA SMARTFREN 25.000
sf50 PULSA SMARTFREN 50.000
sf60 PULSA SMARTFREN 60.000
sf100 PULSA SMARTFREN 100.000
sf150 PULSA SMARTFREN 150.000
tri1 PULSA THREE 1.000
tri2 PULSA THREE 2.000
tri5 PULSA THREE 5.000
tri10 PULSA THREE 10.000
tri15 PULSA THREE 15.000
tri20 PULSA THREE 20.000
tri25 PULSA THREE 25.000
tri30 PULSA THREE 30.000
tri50 PULSA THREE 50.000
tri100 PULSA THREE 100.000
tri150 PULSA THREE 150.000
tri200 PULSA THREE 200.000
tri300 PULSA THREE 300.000
tri500 PULSA THREE 500.000

e-Wallet

Product Id Product Description
dana E-WALLET TOP UP DANA
shopeepay E-WALLET TOP UP SHOPEEPAY
ovo E-WALLET TOP UP OVO
linkaja E-WALLET TOP UP LINKAJA
grab TOP UP DRIVER GRAB
maxim TOP UP DRIVER MAXIM

API Account Linking

OY's API Collection to link user's phone number to e-wallets. Currently, this feature support to link user's phone number to DANA and ShopeePay e-wallet. Contact your Business Representative if you'd like to activate this feature.

Get Linking URL

Use this API to get the linking URL for your user.

curl --location --request POST 'https://partner.oyindonesia.com/api/account/linking' \
--header 'Content-Type: application/json' \
--header 'X-Oy-Username: yourusername' \
--header 'X-Api-Key: yourapikey' \
--data-raw '{
    "partner_user_id": "USR-20230112-001",
    "phone_number": "082114845847",
    "payment_method": "EWALLET",
    "channel_code": "dana_ewallet"
}
'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'yourapikey'

};
var request = http.Request('POST', Uri.parse('https://partner.oyindonesia.com/api/account/linking'));
request.body = json.encode({
  "partner_user_id": "USR-20230112-001",
    "phone_number": "082114845847",
    "payment_method": "EWALLET",
    "channel_code": "dana_ewallet"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account/linking"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_user_id": "USR-20230112-001",
    "phone_number": "082114845847",
    "payment_method": "EWALLET",
    "channel_code": "dana_ewallet"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "yourusername")
  req.Header.Add("x-api-key", "yourapikey")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_user_id\": \"USR-20230112-001\",\n    \"phone_number\": \"082114845847\",\n    \"payment_method\": \"EWALLET\",\n    \"channel_code\": \"dana_ewallet\"\n}");
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account/linking")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "yourusername")
  .addHeader("x-api-key", "yourapikey")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_user_id": "USR-20230112-001",
  "phone_number": "082114845847",
  "payment_method": "EWALLET",
  "channel_code": "dana_ewallet"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://partner.oyindonesia.com/api/account/linking");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "yourusername");
xhr.setRequestHeader("x-api-key", "yourapikey");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account/linking');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => 'yourusername',
  'x-api-key' => 'yourapikey'
));
$request->setBody('{\n    "partner_user_id": "USR-20230112-001",\n    "phone_number": "082114845847",\n    "payment_method": "EWALLET",\n    "channel_code": "dana_ewallet"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("https://partner.oyindonesia.com", undefined)
payload = json.dumps({
  "partner_user_id": "USR-20230112-001",
  "phone_number": "082114845847",
  "payment_method": "EWALLET",
  "channel_code": "dana_ewallet"
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'yourapikey'
}
conn.request("POST", "/api/account/linking", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "success": true,
    "error": null,
    "data": {
        "partner_user_id": "USR-20230112-001",
        "payment_method": "EWALLET",
        "channel_code": "dana_ewallet",
        "linking_url": "https://generated-linking-url"
    },
    "reason": null,
    "status_code": 200
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/account/linking

[Staging] POST https://api-stg.oyindonesia.com/api/account/linking

Request Headers

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username

Request Parameters

Parameter Type Required Default Description
partner_user_id String(255) TRUE - ID generated by Partner for a specific user/customer
phone_number String(20) TRUE - The user phone number (format 08xxxxxxxxxx)
payment_method String(255) TRUE - The payment method type that user want to linked to (Currently only support EWALLET. In the future we will have another payment method type, such as CARDS)
channel_code String(255) TRUE - The payment channel type that user want to linked to (Currently support dana_ewallet and shopeepay_ewallet)

Response Parameters

Parameter Type Description
success Boolean Will be true if the account linking process is successful and vice versa
error Object Error detail of the account linking process in Object {code: <error_code>, message: <error_message>}. This value is not null if the value of field success is false
data Object Account linking data, the detail will be explained in the next section
reason String(255) Will be filled with error reason if the linking status is failed
status_code Integer Will be 200 if the account linking process is success and will be the same as error code if the linking process is failed

Account Linking Response Data

The field data in response parameters will contain below informations.

Parameter Type Description
partner_user_id String(255) ID generated by Partner for a specific user/customer
payment_method String(255) The payment method type that user want to linked to (Currently only support EWALLET. In the future we will have another payment method type, such as CARDS)
channel_code String(255) The payment channel type that user want to linked to (Currently support dana_ewallet and shopeepay_ewallet)
linking_url String Linking URL to be accessed by user to complete the account linking process

Use this API to get the unlink user account. Currently this feature support unlink user ShopeePay account.

curl --location --request POST 'https://partner.oyindonesia.com/api/account/unlink' \
--header 'Content-Type: application/json' \
--header 'X-Oy-Username: yourusername' \
--header 'X-Api-Key: yourapikey' \
--data-raw '{
    "partner_user_id": "USR-20230112-001",
    "payment_method": "EWALLET",
    "channel_code": "shopeepay_ewallet"
}
'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'yourapikey'

};
var request = http.Request('POST', Uri.parse('https://partner.oyindonesia.com/api/account/unlink'));
request.body = json.encode({
  "partner_user_id": "USR-20230112-001",
  "payment_method": "EWALLET",
  "channel_code": "shopeepay_ewallet"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account/unlink"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_user_id": "USR-20230112-001",
    "payment_method": "EWALLET",
    "channel_code": "shopeepay_ewallet"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "yourusername")
  req.Header.Add("x-api-key", "yourapikey")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_user_id\": \"USR-20230112-001\",\n    \"payment_method\": \"EWALLET\",\n    \"channel_code\": \"shopeepay_ewallet\"\n}");
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account/unlink")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "yourusername")
  .addHeader("x-api-key", "yourapikey")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_user_id": "USR-20230112-001",
  "payment_method": "EWALLET",
  "channel_code": "shopeepay_ewallet"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://partner.oyindonesia.com/api/account/unlink");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "yourusername");
xhr.setRequestHeader("x-api-key", "yourapikey");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account/unlink');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => 'yourusername',
  'x-api-key' => 'yourapikey'
));
$request->setBody('{\n    "partner_user_id": "USR-20230112-001",\n    "payment_method": "EWALLET",\n    "channel_code": "shopeepay_ewallet"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("https://partner.oyindonesia.com", undefined)
payload = json.dumps({
  "partner_user_id": "USR-20230112-001",
  "payment_method": "EWALLET",
  "channel_code": "shopeepay_ewallet"
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'yourapikey'
}
conn.request("POST", "/api/account/unlink", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "success": true,
    "error": null,
    "data": {
        "partner_user_id": "USR-20230112-001",
        "payment_method": "EWALLET",
        "channel_code": "shopeepay_ewallet",
        "status": "UNLINKED"
    },
    "reason": null,
    "status_code": 200
}

[Production] POST https://partner.oyindonesia.com/api/account/unlink

[Staging] POST https://api-stg.oyindonesia.com/api/account/unlink

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username
Parameter Type Required Default Description
partner_user_id String(255) TRUE - ID generated by Partner for a specific user/customer
payment_method String(255) TRUE - The payment method type that user want to linked to (Currently only support EWALLET. In the future we will have another payment method type, such as CARDS)
channel_code String(255) TRUE - The payment channel type that user want to linked to (Currently only support shopeepay_ewallet)
Parameter Type Description
success Boolean Will be true if the account linking process is successful and vice versa
error Object Error detail of the account linking process in Object {code: <error_code>, message: <error_message>}. This value is not null if the value of field success is false
data Object Account linking data, the detail will be explained in the next section
reason String(255) Will be filled with error reason if the linking status is failed
status_code Integer Will be 200 if the account linking process is success and will be the same as error code if the linking process is failed

The field data in response parameters will contain below informations.

Parameter Type Description
partner_user_id String(255) ID generated by Partner for a specific user/customer
payment_method String(255) The payment method type that user want to linked to (Currently only support EWALLET. In the future we will have another payment method type, such as CARDS)
channel_code String(255) The payment channel type that user want to linked to (currently only support shopeepay_ewallet)
status String Account linking status, should be UNLINKED if successful. Other status if otherwise.

How we notify account linking/unlinking result?

Send Callback Condition

Payment Method Channel Code Successful Account Linking Failed Account Linking
EWALLET dana_ewallet Send Callback -
EWALLET shopeepay_ewallet Send Callback -

The response callback will looks like this:

{
    "username": "username",
    "partner_user_id": "789467agf238893894rfcw7978iu7g7e",
    "payment_method": "EWALLET",
    "channel_code": "dana_ewallet",
    "phone_number": "082114845847",
    "status": "LINKED",
    "expiration_time": "01/02/2020T15:00:00.000+0000"
}

Callback Parameters

Parameter Type Description
username String Partner username
partner_user_id String ID generated by Partner for a specific user/customer
payment_method String The payment method type that user want to linked to (Currently only support EWALLET. In the future we will have another payment method type, such as CARDS)
channel_code String The payment channel type that user want to linked to (Currently support dana_ewallet and shopeepay_ewallet)
phone_number String The user phone number (format 08xxxxxxxxxx)
status String User's account linking status
expiration_time String User's account linking expiration time (example: 01/02/2020T15:00:00.000+0000)
Redirect URL Result Status Partner User ID Redirect URL Embedded with Result Status
https://url.com/redirect SUCCESS 789467agf238893894rfcw7978iu7g7e https://url.com/redirect?result=SUCCESS&partnerUserId=789467agf238893894rfcw7978iu7g7e&channelCode=dana_ewallet&paymentMethod=EWALLET
https://url.com/redirect FAILED 789467agf238893894rfcw7978iu7g7e https://url.com/redirect?result=FAILED&partnerUserId=789467agf238893894rfcw7978iu7g7e&channelCode=dana_ewallet&paymentMethod=EWALLET

Get E-Wallet Account Balance

After do account linking, user have the capability to see their e-wallet balance. Use this API to get user e-wallet balance.

curl --location --request POST 'https://partner.oyindonesia.com/api/account/balance' \
--header 'Content-Type: application/json' \
--header 'X-Oy-Username: yourusername' \
--header 'X-Api-Key: yourapikey' \
--data-raw '{
    "partner_user_id": "USR-20230112-001",
    "channel_code": "dana_ewallet"
}
'
var headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'yourapikey'

};
var request = http.Request('POST', Uri.parse('https://partner.oyindonesia.com/api/account/balance'));
request.body = json.encode({
  "partner_user_id": "USR-20230112-001",
    "channel_code": "dana_ewallet"
});
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/account/balance"
  method := "POST"

  payload := strings.NewReader(`{
    "partner_user_id": "USR-20230112-001",
    "channel_code": "dana_ewallet"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "yourusername")
  req.Header.Add("x-api-key", "yourapikey")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"partner_user_id\": \"USR-20230112-001\",\n    \"channel_code\": \"dana_ewallet\"\n}");
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/account/balance")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "yourusername")
  .addHeader("x-api-key", "yourapikey")
  .build();
Response response = client.newCall(request).execute();
var data = JSON.stringify({
  "partner_user_id": "USR-20230112-001",
  "channel_code": "dana_ewallet"
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://partner.oyindonesia.com/api/account/balance");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "yourusername");
xhr.setRequestHeader("x-api-key", "yourapikey");

xhr.send(data);
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/account/balance');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => 'yourusername',
  'x-api-key' => 'yourapikey'
));
$request->setBody('{\n    "partner_user_id": "USR-20230112-001",\n    "channel_code": "dana_ewallet"\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("https://partner.oyindonesia.com", undefined)
payload = json.dumps({
  "partner_user_id": "USR-20230112-001",
  "channel_code": "dana_ewallet"
})
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'yourapikey'
}
conn.request("POST", "/api/account/balance", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
    "status": {
        "code": "000",
        "message": "Success"
    },
    "partner_user_id": "USR-20230112-001",
    "channel_code": "dana_ewallet",
    "amount": 150000
}

HTTPS Request

[Production] POST https://partner.oyindonesia.com/api/account/balance

[Staging] POST https://api-stg.oyindonesia.com/api/account/balance

Request Headers

Parameter Type Description
X-Api-Key String API Key used to connect to this particular endpoint
X-Oy-Username String Your OY! account username

Request Parameters

Parameter Type Required Default Description
partner_user_id String(255) TRUE - ID generated by Partner for a specific user/customer
channel_code String(255) TRUE - The payment channel type (Currently support dana_ewallet and shopeepay_ewallet)

Response Parameters

Parameter Type Description
status Object Status of response in Object {code: <status_code>, message: <status_message>}.
partner_user_id String(255) ID generated by Partner for a specific user/customer
channel_code String(255) The payment channel type (Currently support dana_ewallet and shopeepay_ewallet)
amount BigDecimal User e-wallet balance amount

Response Codes

Below is the list of response codes for API Account Linking:

Response Code State Description
000 Final Response success without error.
201 Final Request is rejected with message “User not found”.
202 Final Request is rejected with message “User not active”.
207 Final Request is rejected with message “Request IP Address is not Registered”.
208 Final Request is rejected with message “API Key is not valid”.
290 Final Request is Rejected (Parameter / object is not valid)
400 Final Request is rejected with message “Unsupported e-wallet type for tokenization”. Currently, OY support account linking for DANA and ShopeePay e-wallet.
400 Final Account linking request is rejected with message “Phone number is linked”.
400 Final Get user balance request is rejected with message “User account is not linked”.
999 Non-Final Internal Server Error.

Transaction Detail

Transaction detail API allows you to get the detail of a transaction

Get Transaction Detail

The Transaction Detail Query API allows partners to retrieve transaction details using the partner transaction ID. Before making a query using this API, it is recommended to ensure that the transaction has been marked as successful through the Check Status API.

curl --location --request GET 'https://partner.oyindonesia.com/api/v1/transaction?partner_tx_id=<partner_tx_id>&product_type=<product_type>' \
--header 'content-type: application/json' \
--header 'accept: application/json' \
--header 'x-oy-username: yourusername' \
--header 'x-api-key: apikeymu'
var headers = {
  'content-type': 'application/json',
  'accept: application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'apikeymu'

};
var request = http.Request('GET', Uri.parse('https://partner.oyindonesia.com/api/v1/transaction?partner_tx_id=<partner_tx_id>&product_type=<product_type>'));
request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://partner.oyindonesia.com/api/v1/transaction?partner_tx_id=<partner_tx_id>&product_type=<product_type>"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("x-oy-username", "yourusername")
  req.Header.Add("x-api-key", "apikeymu")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("https://partner.oyindonesia.com/api/v1/transaction?partner_tx_id=<partner_tx_id>&product_type=<product_type>")
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .addHeader("x-oy-username", "yourusername")
  .addHeader("x-api-key", "apikeymu")
  .build();
Response response = client.newCall(request).execute();
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://partner.oyindonesia.com/api/v1/transaction?partner_tx_id=<partner_tx_id>&product_type=<product_type>");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("x-oy-username", "yourusername");
xhr.setRequestHeader("x-api-key", "apikeymu");

xhr.send();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://partner.oyindonesia.com/api/v1/transaction?partner_tx_id=<partner_tx_id>&producet_type=<product_type>');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'x-oy-username' => 'yourusername',
  'x-api-key' => 'apikeymu'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
import http.client
import json

conn = http.client.HTTPSConnection("https://partner.oyindonesia.com", undefined)
payload = ''
headers = {
  'Content-Type': 'application/json',
  'x-oy-username': 'yourusername',
  'x-api-key': 'apikeymu'
}
conn.request("GET", "/api/v1/transaction?partner_tx_id=<partner_tx_id>&product_type=<product_type>", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

The above command returns JSON structured similar like this:

{
  "status": {
    "code": "000",
    "message": "Success",
  },
  "data": {
    "transfer_amount": 10000, 
    "settlement_amount": 10150,
    "admin_fee": {
      "total_fee": 150
    },
  }
}

HTTPS Request

Endpoint:
[Production] GET https://partner.oyindonesia.com/api/v1/transaction?partner_tx_id=<partner_tx_id>&product_type=<product_type>
[Staging] GET https://api-stg.oyindonesia.com/api/v1/transaction?partner_tx_id=<partner_tx_id>&product_type=<product_type>

Header

Field Description Example
x-oy-username Partner username username
x-api-key Partner api key 6e87432c-2726-11ec-9621-0242ac130002

Request Parameters

Parameter Type Required Description
partner_tx_id String(255) TRUE The partner transaction ID of the transaction to be queried
product_type Enum TRUE The product type of the transaction to be queried. Valid options are: API_DISBURSE, API_BILLER, EWALLET_AGGREGATOR, VA_AGGREGATOR, PAYMENT_ROUTING, PAYMENT_LINK

Response Parameters

Parameter Type Description
status Object Status of the request in an object. {code: \<status_code\>, message: \<status_message\>
data Object Data object that wraps the response parameters. Nullable if status is not success
data.transfer_amount BigDecimal The amount that must be paid or received by the end user.
data.settlement_amount BigDecimal The total amount that is reflected in the partner's balance. The calculation of the settlement amount varies depending on the transaction type:
- For disbursement transactions: (settlement_amount = transfer_amount + admin_fee)
- For acceptance transactions: (settlement_amount = transfer_amount - admin_fee)
data.admin_fee Object Admin fee detail of the transaction
data.admin_fee.total_fee BigDecimal Total amount of the admin fee for this transaction.

Product Type

For money-in product, this API can only be used for single-use transactions. For more detailed about each product type, please refer to the following table:

Product Type Product Docs Notes
API_DISBURSE Api Disburse
API_BILLER Api Biller
PAYMENT_LINK Payment Link Excludes the use of reusable payment links.
PAYMENT_ROUTING Payment Routing Excludes disbursement through payment routing.
VA_AGGREGATOR VA Aggregator Excludes the use of VA (Virtual Account) for multiple uses.
EWALLET_AGGREGATOR Ewallet Aggregator

Timeout

Timeouts can be set by partners when making requests to our API. This allows partners to control the maximum duration for which they are willing to wait for a response from our server.

Timeout Durations for OY's API

Below is the list of timeout durations for OY's API, which partners can set when using our services:

API Timeout in seconds
VA Aggregator 60
Fund Acceptance (Payment Link) 120
E-Wallet Aggregator 60
Payment Routing 120
Account Linking 100

Setting Timeout

Partners can set the timeout by including the timeout parameter in the request headers. The value of the timeout parameter should be specified in seconds.

Example

POST https://partner.oyindonesia.com/api/e-wallet-aggregator/create-transaction
Host: partner.oyindonesia.com
Content-Type: application/json
X-Oy-Username: yourusername
X-Api-Key: yourapikey
Timeout: 60

In this example, the partner is setting a timeout of 60 seconds for the request to POST /api/e-wallet-aggregator/create-transaction. Please note that OY's server will respond within this specified timeout duration.

Docs Changelog

December 1, 2022

Select Language