---
title: Registration - API Paylater
slug: en/nicepay-api-non-snap-registration-api-paylater
description: Information about Non-SNAP Payment API - Registration - Paylater API available on NICEPAY system
image: https://archbee-image-uploads.s3.amazonaws.com/ZHvSjR5ZrsoxwKbJa3xmo/z8u4-h0sTSP4jDlikfb7N_nicepay-docs-logo.png
icon: {"faIcon":"fa-solid fa-book"}
docTags: 
createdAt: 2022-12-01T07:17:31.000Z
---

# About API for Paylater Registration &#x20;

***

This API uses by Merchants to register transactions with the NICEPAY system so that they can register transactions.



# API for Paylater Registration &#x20;

***

The Paylater Registration API uses so that the Merchants can connect to the Paylater payment API system from NICEPAY. So that the payment system that has been provided and hosted from the Merchant side can integrate with the system from NICEPAY. The following APIs can use for Indodana, Akulaku, and Kredivo Registrations.

| **API Endpoint**   | `/nicepay/direct/v2/registration`                            |
| ------------------ | ------------------------------------------------------------ |
| **Request Method** | <font color="#3b9f0f">**POST**</font>****                    |
| **Description**    | Performs Transaction Regist to NICEPAY                       |
| **Merchant Token** | SHA256(`timeStamp`+`iMid`+`referenceNo`+`amt`+`merchantKey`) |
| **Request Format** | `application/json`                                           |



## Request Parameter for Paylater Registration&#x20;

***

The following is a list of parameters for requesting registration of the Paylater payment method. This parameter uses in the API testing platform as one of the stages so that the Merchant's system can connect with services from NICEPAY.

| **Parameter**                                                                        | **Tipe**           | **Ukuran** | **Deskripsi**                                                                                                                                                                               | **Contoh / Catatan**                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------------ | ------------------ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `timeStamp `<br /><font color="#2166ae">Required</font>                              | N                  | 14         | Request Timestamp (`YYYYMMDDHH24MISS`)                                                                                                                                                      | 20220131125959                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `iMid `<br /><font color="#2166ae">Required</font>                                   | AN                 | 10         | Merchant ID	<br />                                                                                                                                                                          | PAYLOANTES                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `payMethod`<br /><font color="#2166ae">Required</font>                               | N                  | 2          | [Payment Method Code](docId\:IifMsRUUw7j9VMWeFJz97) <br />                                                                                                                                  | 06&#xD;                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `currency`<br /><font color="#2166ae">Required</font>                                | A                  | 3          | Currency<br />                                                                                                                                                                              | IDR                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `amt` <br /><font color="#2166ae">Required</font>                                    | N                  | 12         | Amount<br />                                                                                                                                                                                | 10000                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `referenceNo`<br /> <font color="#2166ae">Required</font>                            | ANS                | 40         | Merchant's Reference Number	<br />                                                                                                                                                          | ORD12345                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `callBackUrl`                                                                        | ANS                | 255        | Payment Result URL                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `goodsNm `<font color="#2166ae"> </font><br /><font color="#2166ae">Required</font>  | AN                 | 100        | Goods Name	<br />                                                                                                                                                                           | Test Transaction NICEPAY&#xD;                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `billingNm `<br /><font color="#2166ae">Required</font>                              | A                  | 100        | Buyer Name	<br />                                                                                                                                                                           | John Doe&#xD;                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `billingPhone `<br /><font color="#2166ae">Required</font>                           | N                  | 15         | Buyer Phone Number	<br />                                                                                                                                                                   | 08123456789                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `billingEmail `<br /><font color="#2166ae">Required</font>                           | ANS                | 40         | Buyer E-Mail	<br />                                                                                                                                                                         | email\@merchant.com                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `billingAddr `<br /> <font color="#2166ae">Required</font>                           | AN                 | 100        | Buyer Address	<br />                                                                                                                                                                        | Jalan Bukit Berbunga 22&#xD;                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `billingCity `<br /><font color="#2166ae">Required</font>                            | A                  | 50         | Buyer City	<br />                                                                                                                                                                           | Jakarta&#xD;                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `billingState `<br /><font color="#2166ae">Required</font>                           | A                  | 50         | Billing State	<br />                                                                                                                                                                        | DKI Jakarta&#xD;                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `billingPostCd `<br /><font color="#2166ae">Required</font>                          | N                  | 10         | Billing Post Number	<br />                                                                                                                                                                  | 12345                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `billingCountry `<br /><font color="#2166ae">Required</font>                         | A                  | 10         | Billing Country	<br />                                                                                                                                                                      | Indonesia                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `cartData`<br /><font color="#2166ae">Required</font>                                | `JSONstring`<br /> | 4000       | Cart Data<br />                                                                                                                                                                             | \{"count":3,"item":\[\{"goods\_id":30,"goods\_name":"Beanie","goods\_type":"Accessories","goods\_amt":5000,"goods\_sellers\_id":"NICEPAY-NamaMerchant","goods\_sellers\_name":"NICEPAYSHOP","goods\_quantity":1,"goods\_url":"[http://www.nicestore.com/product/beanie/](http://www.nicestore.com/product/beanie/)"},..]}                                                                                                                                                     |
| `userIP `<br /><font color="#2166ae">Required for CC, E-Wallet, Paylater,QRIS</font> | AN                 | 15         | User IP<br />                                                                                                                                                                               | 127.0.0.1&#xD;<br />                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `dbProcessUrl`<br /> <font color="#2166ae">Required</font>                           | ANS                | 255        | Notification URL	<br />                                                                                                                                                                     | https\://merchant.com/dbProcessUrl&#xD;<br />                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `merchantToken`<br /><font color="#2166ae">Required</font>                           | AN                 | 255        | Merchant Token	<br />                                                                                                                                                                       | 9b38b12e83b6ee124d4b549238f232c6179b168effc4ffb7f64d00c15f08e230                                                                                                                                                                                                                                                                                                                                                                                                              |
| `deliveryNm`<br /><font color="#2166ae">Required</font>                              | A                  | 30         | Delivery Name	                                                                                                                                                                              | email\@merhchant.com                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `deliveryPhone`<br /><font color="#2166ae">Required</font>                           | N                  | 15         | Delivery Phone	                                                                                                                                                                             | 08123456789                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `deliveryAddr`<br /><font color="#2166ae">Required</font>                            | AN                 | 100        | Delviery Address	                                                                                                                                                                           | Jalan Bukit Berbunga 22                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `deliveryCity`<br /><font color="#2166ae">Required</font>                            | A                  | 50         | Delivery City	                                                                                                                                                                              | Jakarta                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `deliveryState`<br /><font color="#2166ae">Required</font>                           | A                  | 50         | Delivery State	                                                                                                                                                                             | DKI Jakarta                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `deliveryPostCd`<br /><font color="#2166ae">Required</font>                          | N                  | 10         | Delivery Post Code	                                                                                                                                                                         | 12345                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `deliveryCountry`<br /><font color="#2166ae">Required</font>                         | A                  | 10         | Delivery Country	                                                                                                                                                                           | Indonesia                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `mitraCd`<br /><font color="#2166ae">Required</font>                                 | N                  | 2          | [Mitra Code](docId:0luP35KfOWksiSrzKx6yZ)                                                                                                                                                   | KDVI                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `instmntType`<br /><font color="#2166ae">Required</font>                             | N                  | 8          | [Installment Type Code](docId:_Wzur5wjwhrDR8YXI-Ppi)                                                                                                                                        | 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `instmntMon`<br /><font color="#2166ae">Required</font>                              | N                  | 6          | - `1`: 1 Month/Full Payment, *if instmntType:* *null/1*
- `3`: 3 Months&#x20;
- `6`: 6 Months&#x20;
- `12`: 12 Months
- [Paylater Rule and Limitation](docId\:Yp8wKbUDyslwg9r-HYRZQ) &#x20; | 3                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `userSessionID`                                                                      | AN                 | 255        | ID User Session                                                                                                                                                                             | 697D6922C961070967D3BA1BA5699C2C                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `userAgent`                                                                          | ANS                | 255        | User Agent                                                                                                                                                                                  | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/60.0.3112.101 Safari/537.36                                                                                                                                                                                                                                                                                                                                                            |
| `userLanguage`                                                                       | ANS                | 255        | User Language                                                                                                                                                                               | ko-KR,en-US;q=0.8,ko;q=0.6,en;q=0.4                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `sellers`<br /><font color="#2166ae">Required</font>                                 | `JSON String`      | 4000       | Seller Data                                                                                                                                                                                 | \[\{\\"sellersId\\":\\"NICEPAY-NamaMerchant\\",\\"sellersNm\\":\\"NICEPAYSHOP\\",\\"sellersUrl\\":\\"http\://nicestore.store/product/beanie/\\",\\"sellersEmail\\":\\"Nicepay\@nicepay.co.id\\",\\"sellersAddress\\":\{\\"sellerNm\\":\\"NICEPAYSHOP\\",\\"sellerLastNm\\":\\"NICEPAYSHOP\\",\\"sellerAddr\\":\\"Jln. Kasablanka Kav 88\\",\\"sellerCity\\":\\"Jakarta\\",\\"sellerPostCd\\":\\"14350\\",\\"sellerPhone\\":\\"082111111111\\",\\"sellerCountry\\":\\"ID\\"}}] |

:::hint{type="info"}
Please visit [Paylater](docId:8EqxkLid9vhNCMDggwW_c) section to learn general information about the Paylater payment method.&#x20;
:::



## Response Parameter for Paylater Registration&#x20;

***

The following is the response parameter from the result of the request parameter for registering the Paylater payment method.

| **Parameter**  | **Type** | **Size** | **Description**                                             | **Example / Notes**                 |
| -------------- | -------- | -------- | ----------------------------------------------------------- | ----------------------------------- |
| `resultCd`     | N        | 4        | [Result Code](docId:9eC3yH9CQqpb6cRWauWWO)                  | 0000                                |
| `resultMsg`   | AN       | 255      | Result Message: [Error Code](docId\:FsX1GESJKxOp0T9rvUHp_)  | SUCCESS                             |
| `tXid`         | AN       | 30       | Transaction ID&#xD;                                         | &#xD;PAYLOANTES06202212051018325178 |
| `referenceNo`  | ANS      | 40       | Merchant Reference Number&#xD;                              | ORD12345                            |
| `payMethod`    | N        | 2        | [Payment Method Code](docId\:NQ1y7vMa25ZtvQHN5He6W)         | 06                                  |
| `amt`          | N        | 12       | Payment Amount                                              | 10000                               |
| `transDt`      | N        | 8        | Transaction Date (`YYYYMMDD`)&#xD;                          | null                                |
| `transTm`      | N        | 6        | Transaction Time (`HH24MISS`)&#xD;                          | null                                |
| `description`  | AN       | 100      | Transaction Description&#xD;                                | null                                |
| `bankCd`       | A        | 4        | [Bank Code](docId\:HlxvgrXVxWD90n8ohNKm0)                   | null                                |
| `vacctNo`      | N        | 20       | Virtual Account                                             | null                                |
| `mitraCd`      | A        | 4        | [Mitra Code](docId:0luP35KfOWksiSrzKx6yZ)                   | KDVI                                |
| `payNo`        | N        | 12       | CVS Payment Number                                          | null                                |
| `currency`    | A        | 3        | Currency                                                    | null                                |
| `goodsNm`      | AN       | 100      | Goods Name&#xD;                                             | null                                |
| `billingNm`    | A        | 100&#xD; | Buyer Name                                                  | null                                |
| `payValidDt`  | N        | 8        | Expiry Date (`YYYYMMDD`)&#xD;                               | null                                |
| `payValidTm`   | N        | 6        | Expiry Time (`HH24MISS`)&#xD;                               | null                                |
| `requestURL`   | ANS      | 360      | Request URL&#xD;                                            | null                                |
| `paymentExpDt` | N        | 6        | QR Payment Expiry Date (`YYYYMMDD`)&#xD;                    | null                                |
| `paymentExpTm` | N        | 6        | QR Payment Expiry Time (`HH24MISS`)&#xD;                    | null                                |
| `qrContent`    | ANS      | 360      | QR String in Plain Text&#xD;                                | null                                |
| `qrUrl`        | ANS      | 360      | URL for QR Image, Valid for 5 Minutes&#xD;                  | null                                |



## Sample JSON for Paylater Registration &#x20;

***

:::CodeblockTabs
JSON Request

```json
{
    "timeStamp": "20220131125959",
    "iMid": "PAYLOANTES",
    "payMethod": "06",
    "currency": "IDR",
    "amt": "10000",
    "referenceNo": "ORD12345",
    "goodsNm": "Test Transaction Nicepay",
    "billingNm": "John Doe",
    "billingPhone": "08123456789",
    "billingEmail": "email@merchant.com",
    "billingAddr": "Jalan Bukit Berbunga 22",
    "billingCity": "Jakarta",
    "billingState": "DKI Jakarta",
    "billingPostCd": "12345",
    "billingCountry": "Indonesia",
    "deliveryNm": "email@merchant.com",
    "deliveryPhone": "08123456789",
    "deliveryAddr": "Jalan Bukit Berbunga 22",
    "deliveryCity": "Jakarta",
    "deliveryState": "DKI Jakarta",
    "deliveryPostCd": "12345",
    "deliveryCountry": "Indonesia",
    "dbProcessUrl": "https://merchant.com/api/dbProcessUrl/Notif",
    "description": "",      
    "merchantToken":"9b38b12e83b6ee124d4b549238f232c6179b168effc4ffb7f64d00c15f08e230",
    "reqDomain": "merchant.com",
    "reqServerIP": "127.0.0.1",
    "reqClientVer": "",
    "userIP": "127.0.0.1",
    "userSessionID": "697D6922C961070967D3BA1BA5699C2C",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/60.0.3112.101 Safari/537.36",
    "userLanguage": "ko-KR,en-US;q=0.8,ko;q=0.6,en;q=0.4",
    "cartData": "{\"count\":3,\"item\":[{\"goods_id\":30,\"goods_name\":\"Beanie\",\"goods_type\":\"Accessories\",\"goods_amt\":5000,\"goods_sellers_id\":\"NICEPAY-NamaMerchant\",\"goods_sellers_name\":\"NICEPAYSHOP\",\"goods_quantity\":1,\"goods_url\":\"http://www.nicestore.com/product/beanie/\"},{\"goods_id\":31,\"goods_name\":\"Belt\",\"goods_type\":\"Accessories\",\"goods_amt\":4500,\"goods_sellers_id\":\"NICEPAY-NamaMerchant\",\"goods_sellers_name\":\"NICEPAYSHOP\",\"goods_quantity\":1,\"goods_url\":\"http://www.nicestore.store/product/belt/\"},{\"img_url\":\"http://www.jamgora.com/media/avatar/noimage.png\",\"goods_name\":\"Shipping Fee\",\"goods_id\":\"Shipping for Ref. No. 278\",\"goods_detail\":\"Flat rate\",\"goods_type\":\"Shipping with Flat rate\",\"goods_amt\":\"500\",\"goods_sellers_id\":\"NICEPAY-NamaMerchant\",\"goods_sellers_name\":\"NICEPAYSHOP\",\"goods_quantity\":\"1\",\"goods_url\":\"https://wwww.nicestore.store\"}]}",
    "sellers": "[{\"sellersId\":\"NICEPAY-NamaMerchant\",\"sellersNm\":\"NICEPAYSHOP\",\"sellersUrl\":\"http://nicestore.store/product/beanie/\",\"sellersEmail\":\"Nicepay@nicepay.co.id\",\"sellersAddress\":{\"sellerNm\":\"NICEPAYSHOP\",\"sellerLastNm\":\"NICEPAYSHOP\",\"sellerAddr\":\"Jln. Kasablanka Kav 88\",\"sellerCity\":\"Jakarta\",\"sellerPostCd\":\"14350\",\"sellerPhone\":\"082111111111\",\"sellerCountry\":\"ID\"}}]",
    "instmntType": "2",
    "instmntMon": "1",
    "mitraCd": "KDVI"
}
```

JSON Response

```json
{
    "resultCd": "0000",
    "resultMsg": "SUCCESS",
    "tXid": "PAYLOANTES06202212051018325178",
    "referenceNo": "ORD12345",
    "payMethod": "06",
    "amt": "10000",
    "transDt": null,
    "transTm": null,
    "description": null,
    "bankCd": null,
    "vacctNo": null,
    "mitraCd": "KDVI",
    "payNo": null,
    "currency": null,
    "goodsNm": null,
    "billingNm": null,
    "vacctValidDt": null,
    "vacctValidTm": null,
    "payValidDt": null,
    "payValidTm": null,
    "requestURL": null,
    "paymentExpDt": null,
    "paymentExpTm": null,
    "qrContent": null,
    "qrUrl": null
}
```

Java Request

```java
// Payloan Registration //
// Payloan Registration Mandatory Field
nicePay.settimeStamp("20220101123456");
nicePay.setiMid("TestEwallet");
nicePay.setpayMethod("0");
nicePay.setcurrency("IDR");
nicePay.setamt("10000");
nicePay.setreferenceNo("ORD12345");
nicePay.setgoodsNm("John Doe");
nicePay.setbillingNm("John Doe");
nicePay.setbillingPhone("08123456789");
nicePay.setbillingEmail("email@merchant.com");
nicePay.setbillingAddr("Jalan Bukit Berbunga 22");
nicePay.setbillingCity("Jakarta");
nicePay.setbillingState("DKI Jakarta");
nicePay.setbillingPostCd("12345");
nicePay.setbillingCountry("Indonesia");
nicePay.setdescription("Test Transaction");
nicePay.setdbProcessUrl("https://merchant.com/api/dbProcessUrl/Notif");
nicePay.setdeliveryNm("Test Transaction");
nicePay.setdeliveryPhone("Test Transaction");
nicePay.setdeliveryAddr("Test Transaction");
nicePay.setdeliveryCity("Test Transaction");
nicePay.setdeliveryState("Test Transaction");
nicePay.setdeliveryPostCd("Test Transaction");
nicePay.setdeliveryCountry("Test Transaction");
nicePay.setcartData("{\"count\":3,\"item\":[{\"goods_id\":30,\"goods_name\":\"Beanie\",\"goods_type\":\"Accessories\",\"goods_amt\":5000,\"goods_sellers_id\":\"NICEPAY-NamaMerchant\",\"goods_sellers_name\":\"NICEPAYSHOP\",\"goods_quantity\":1,\"goods_url\":\"http://www.nicestore.com/product/beanie/\"},{\"goods_id\":31,\"goods_name\":\"Belt\",\"goods_type\":\"Accessories\",\"goods_amt\":4500,\"goods_sellers_id\":\"NICEPAY-NamaMerchant\",\"goods_sellers_name\":\"NICEPAYSHOP\",\"goods_quantity\":1,\"goods_url\":\"http://www.nicestore.store/product/belt/\"},{\"img_url\":\"http://www.jamgora.com/media/avatar/noimage.png\",\"goods_name\":\"Shipping Fee\",\"goods_id\":\"Shipping for Ref. No. 278\",\"goods_detail\":\"Flat rate\",\"goods_type\":\"Shipping with Flat rate\",\"goods_amt\":\"500\",\"goods_sellers_id\":\"NICEPAY-NamaMerchant\",\"goods_sellers_name\":\"NICEPAYSHOP\",\"goods_quantity\":\"1\",\"goods_url\":\"https://wwww.nicestore.store\"}]}");
nicePay.setsellers("[{\"sellersId\":\"NICEPAY-NamaMerchant\",\"sellersNm\":\"NICEPAYSHOP\",\"sellersUrl\":\"http://nicestore.store/product/beanie/\",\"sellersEmail\":\"Nicepay@nicepay.co.id\",\"sellersAddress\":{\"sellerNm\":\"NICEPAYSHOP\",\"sellerLastNm\":\"NICEPAYSHOP\",\"sellerAddr\":\"Jln. Kasablanka Kav 88\",\"sellerCity\":\"Jakarta\",\"sellerPostCd\":\"14350\",\"sellerPhone\":\"082111111111\",\"sellerCountry\":\"ID\"}}]");
nicePay.setinstmntType("2");
nicePay.setinstmntMon("1");
nicePay.setmitraCd("KDVI");

nicePay.setMerchantToken(nicePay.makeToken(nicePay.getMerchantToken()));

// Request Payloan Registration
nicePay.payloanRegist();

// Response String //
System.out.println("Final Response String : " + nicePay.getResponseString());

String resultCd = nicePay.Get("resultCd");
String resultMsg = nicePay.Get("resultMsg");
String tXid = nicePay.Get("tXid");
String referenceNo = nicePay.Get("referenceNo");
String payMethod = nicePay.Get("payMethod");
String amt = nicePay.Get("amt");
String transDt = nicePay.Get("transDt");
String transTm = nicePay.Get("transTm");
String description = nicePay.Get("description");
String mitraCd = nicePay.Get("mitraCd");
```
:::



## Cart Data Paylater

***

Each Partner that works together with NICEPAY has different condition. Following are detailed terms for each Partner.

### Indodana

`CartData` in Paylater Registration is useful for declaring items that will check out along with item details and the price per item.

| **Parameter** | **Description**                                                                                       | **Contoh** |
| ------------- | ----------------------------------------------------------------------------------------------------- | ---------- |
| `Count`       | The total number of all card data                                                                     | 2          |
| `Item`        | It divides into 4 kinds of parameters, namely `img_url`, `goods_name`, `goods_detail` and `goods_amt` | -          |

***

Detailed explanation on **Item** parameter s.

| **Parameter**        | **Description**   | **Example / Notes**                                                        |
| -------------------- | ----------------- | -------------------------------------------------------------------------- |
| `goods_id`           | Goods ID          | AA12345                                                                    |
| `goods_name`         | Goods Name        | Beanie                                                                     |
| `goods_amt`          | Goods Price       | 5000                                                                       |
| `goods_type`         | Goods Type        | others                                                                     |
| `goods_quantity`     | Goods Quantity    | 1                                                                          |
| `goods_url`          | Goods Link        | [http://nicestore.go/product/beanie/](http://nicestore.go/product/beanie/) |
| `goods_sellers_id`   | Goods Seller ID   | NICEPAY-NamaMerchant                                                       |
| `goods_sellers_name` | Goods Seller Name | NICEPAYSHOP                                                                |

***

:::CodeblockTabs
cartData Paylater Indodana Registration

```json
{
	"count":2,
	"item":[
		{
			"goods_id":"AA12345",
			"goods_name":"Beanie",
			"goods_amt":"5000",
			"goods_type":"others",
			"goods_quantity":1,
			"goods_url":"http://nicestore.go/product/beanie/"
			"goods_sellers_id":"NICEPAY-NamaMerchant",
			"goods_sellers_name":"NICEPAYSHOP"
		},
		{
			"goods_id":"BB12345",
			"goods_name":"Belt",
			"goods_amt":"5000",
			"goods_type":"others",
			"goods_quantity":"1",
			"goods_url":"http://nicestore.go/product/belt/",
			"goods_sellers_id":"NICEPAY-NamaMerchant",
			"goods_sellers_name":"NICEPAYSHOP"
		}
	]
}
```
:::



### Akulaku

`CartData` in Paylater Registration is useful for declaring what items will check out along with item details and the price for each item.

| **Parameter** | **Description**                                                                                         | **Contoh** |
| ------------- | ------------------------------------------------------------------------------------------------------- | ---------- |
| `Count`       | The total number of all card data                                                                       | 2          |
| `Item`        | It divides into 4 kinds of parameters, namely `img_url`, `goods_name`, `goods_detail` , and `goods_amt` | -          |

***

Detailed explanation on **Item** parameters

| **Parameter**        | **Description**   | **Example / Notes**                  |
| -------------------- | ----------------- | ------------------------------------ |
| `goods_id`           | Goods ID          | AA12345                              |
| `goods_name`         | Goods Name        | Beanie                               |
| `goods_amt`          | Goods Price       | 5000                                 |
| `goods_type`         | Goods Type        | others                               |
| `goods_detail`       | Goods Detail      | AA1345678                            |
| `goods_quantity`     | Goods Quantity    | 1                                    |
| `goods_url`          | Goods Link        | http\://nicestore.go/product/beanie/ |
| `goods_sellers_id`   | Goods Seller ID   | NICEPAY-NamaMerchant                 |
| `goods_sellers_name` | Goods Seller Name | NICEPAYSHOP                          |

***

:::CodeblockTabs
cartData Paylater Akulaku Registration

```json
{
	"count":"2",
	"item":[
		{
			"goods_id":"AA12345",
			"goods_name":"Beanie",
			"goods_amt":"5000",
			"goods_type":"others",
			"goods_detail":"AA1345678",
			"goods_quantity":"1",
			"goods_url":"http://nicestore.go/product/beanie/",
			"goods_sellers_id":"NICEPAY-NamaMerchant",
			"goods_sellers_name":"NICEPAYSHOP"
		},
		{
			"goods_id":"BB12345",
			"goods_name":"Belt",
			"goods_amt":"5000",
			"goods_type":"others",
			"goods_detail":"BB12345678",
			"goods_quantity":"1",
			"goods_url":"http://nicestore.go/product/belt/",
			"goods_sellers_id":"NICEPAY-NamaMerchant",
			"goods_sellers_name":"NICEPAYSHOP"
		}
	]
}
```
:::



### Kredivo

***

`CartData` in Paylater Registration is useful for declaring what items will check out along with item details and the price for each item.

| **Parameter** | **Deskripsi**                                                                                           | **Contoh** |
| ------------- | ------------------------------------------------------------------------------------------------------- | ---------- |
| `Count`       | The total number of all card data                                                                       | 3          |
| `Item`        | It divides into 4 kinds of parameters, namely `img_url`, `goods_name`, `goods_detail` , and `goods_amt` | -          |

***

Detailed explanation on **Item** parameters

| **Parameter**        | **Description**   | **Example / Notes**                                                                         |
| -------------------- | ----------------- | ------------------------------------------------------------------------------------------- |
| `goods_id`           | Goods ID          | AA12345<br /><br />It can contain code from Merchant, `taxfee`, `shippingfee` or `discount` |
| `goods_name`         | Goods Name        | Ant Life                                                                                    |
| `goods_amt`          | Goods Price       | 200000                                                                                      |
| `goods_type`         | Goods Type        | others                                                                                      |
| `goods_detail`       | Goods Detail      | AA1345678                                                                                   |
| `goods_quantity`     | Goods Quantity    | 1                                                                                           |
| `goods_url`          | Goods Link        | http\://nicestore.go/product/beanie/                                                        |
| `goods_sellers_id`   | Goods Seller ID   | NICEPAY-NamaMerchant                                                                        |
| `goods_sellers_name` | Goods Seller Name | NICEPAYSHOP                                                                                 |

***

:::CodeblockTabs
cartData Paylater Kredivo Registration

```json
{
  "count": "3",
  "item": [
    {
      "goods_id": "AA12345",
      "goods_detail": "AA1345678",
      "goods_name": "Ant Life",
      "goods_amt": 200000,
      "goods_type": "Book",
      "goods_url": "http://nicestore.go/product/book/",
      "goods_quantity": 1,
      "goods_sellers_id": "NICEPAY-NamaMerchant",
      "goods_sellers_name": "NICEPAYSHOP"
    },
    {
      "goods_id": "taxfee",
      "goods_detail": "",
      "goods_name": "",
      "goods_amt": 5000,
      "goods_type": "",
      "goods_url": "",
      "goods_quantity": 1,
      "goods_sellers_id": "NICEPAY-NamaMerchant",
      "goods_sellers_name": "NICEPAYSHOP"
    },
    {
      "goods_id": "discount",
      "goods_detail": "",
      "goods_name": "Discount",
      "goods_amt": 20000,
      "goods_type": "",
      "goods_url": "",
      "goods_quantity": 1,
      "goods_sellers_id": "NICEPAY-NamaMerchant",
      "goods_sellers_name": "NICEPAYSHOP"
    },
    {
      "goods_id": "shippingfee",
      "goods_detail": "Biaya Pengiriman",
      "goods_name": "Biaya Pengiriman",
      "goods_amt": 10000,
      "goods_type": "Book",
      "goods_url": "http://nicestore.go/product/book/",
      "goods_quantity": 1,
      "goods_sellers_id": "NICEPAY-NamaMerchant",
      "goods_sellers_name": "NICEPAYSHOP"
    }
  ]
}
```
:::

:::hint{type="warning"}
`goods_id` parameter on `CartData` affect `amt` calculation with the following formula:

`amt`**&#x20;= (**`shipmentfee`**&#x20;+&#x20;**`taxfDDee`**&#x20;+&#x20;**`goods_amt`**&#x20;+ ... ) -&#x20;**`discount`



Example:

Following is the calculation based from cartData Paylater Kredivo Registration.

`shipmentfee` = 10000

`taxfee` = 5000

`goods_amt` = 200000

`discount` = 20000

`amt` = (10000 + 5000 + 200000) - 20000 = 215000 - 20000 = *195000*
:::



## Paylater Seller Data

***

Paylater Seller Data contains Seller data information sent from Seller to NICEPAY Partner to be used as Seller validation during transaction using Paylater payment method.

| **Parameter**                        | **Description**       | **Example**                                      |
| ------------------------------------ | --------------------- | ------------------------------------------------ |
| `sellersId`                          | Seller ID             | SEL123                                           |
| `sellersNm`                          | Seller Name           | Sellers 1                                        |
| `sellersEmail`                       | Seller E-Mail         | sellers\@test.com                                |
| `sellersUrl`                         | Seller Link           | [http://nicestore.store](http://nicestore.store) |
| `sellersAddress` -> `sellerNm`       | Seller Name           | Sellers                                          |
| `sellersAddress` -> `sellerLastNm`   | Seller Last Name      | 1                                                |
| `sellersAddress` -> `sellerAddr`     | Seller Address        | Jalan Berbangsa 1                                |
| `sellersAddress` -> `sellerCity`     | Seller City Origin    | Jakarta Barat                                    |
| `sellersAddress` -> `sellerPostCd`   | Seller Postal Code    | 12344                                            |
| `sellersAddress` -> `sellerPhone`    | Seller Phone number   | 08123456789                                      |
| `sellersAddress` -> `sellerCountry` | Seller Country Origin | ID                                               |

***

:::CodeblockTabs
Paylater Seller Data

```json
[
  {
    "sellersId": "SEL123",
    "sellersNm": "Sellers 1",
    "sellersEmail": "sellers@test.com",
    "sellersUrl": "http://nicestore.store",
    "sellersAddress": {
      "sellerNm": "Sellers",
      "sellerLastNm": "1",
      "sellerAddr": "jalan berbangsa 1",
      "sellerCity": "Jakarta Barat",
      "sellerPostCd": "12344",
      "sellerPhone": "08123456789",
      "sellerCountry": "ID"
    }
  },
  {
    "sellersId": "SEL124",
    "sellersNm": "Sellers 2",
    "sellersEmail": "sellers2@test.com",
    "sellersUrl": "http://nicestore.store",
    "sellersAddress": {
      "sellerNm": "Sellers",
      "sellerLastNm": "2",
      "sellerAddr": "jalan berkelok 3",
      "sellerCity": "Jakarta Utara",
      "sellerPostCd": "12222",
      "sellerPhone": "081255556789",
      "sellerCountry": "ID"
    }
  }
]
```
:::

