Tabungan Emas

Tambahkan nilai bagi pelanggan Anda dengan menyematkan Produk Tabungan Emas kami ke dalam aplikasi asli Anda. API ini akan meningkatkan pengalaman pelanggan dengan memperoleh pendapatan dari setiap transaksi yang ada.

GoldPro Registration

The GoldPro Registration API is used to activate the GoldPro Wallet.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/register
				
			

Response (Success)

				
					Body
{
"data": {
"request_id": 4084,
"user_id": "085777090084", 
"name": "Roy Manson",
"email": "mansonsiallagan@gmail.com", "phone":
"085777090084"},
"general_response": {
"response_status": true,
"response_code": 200,
"response_message": "Success",
"response_timestamp": "2021-02-
09T10:50:25+07:00"}
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false, 
"response_code": 400, "response_message": "Your
account is not premium yet",
"response_timestamp": "2021-02-
15T10:20:20+07:00" }
}
				
			

GoldPro Buy Gram

The GoldPro Buy Gram API is used to purchase gold by gram.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/purchase/gram
				
			

Response (Success)

				
					Body
{
"data": {
"request_id": "1612853774",
"response_id": "1082102090000011",
"phone_number": "085777090084",
"gold_weight": 0.0005,
"amount": 441, 
"fee": 5000,
"additional": {},
"session_id":
"764FC70DD96B9E07713D95A9AD004702" },
"general_response": {
"response_status": true,
"response_code": 200,
"response_message": "Success",
"response_timestamp": "2021-02-
09T12:52:06+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "Price changes have
occurred, Please try again",
"response_timestamp": "2021-02-
15T11:16:06+07:00" } 
}
				
			

GoldPro Buy Rupiah

API GoldPro Buy Rupiah is used to purchase gold based on Rupiah.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/purchase/rupiah
				
			

Response (Success)

				
					Body
{
"data": {
"request_id": "1612854864",
"response_id": "1082102090000012",
"phone_number": "085777090084",
"gold_weight": 0.0113,
"amount": 10000,
"fee": 5000, "additional": {}, 
"session_id":
"4368992F975487B918AF66083ADEC857"},
"general_response": {
"response_status": true,
"response_code": 200, "response_message":
"Success", "response_timestamp": "2021-02-
09T13:08:38+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "wallet balance is
insufficient", "response_timestamp": "2021-02-
17T16:49:53+07:00" }
}
				
			

GoldPro Sell Gram

The GoldPro Sell Gram API is used to sell gold by gram.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/checkout/sell
				
			

Response (Success)

				
					Body
{
"data": {
"response_id": "1612856463",
"phone_number": "085777090084",
"gold_weight": 0.0005,
"amount": 423,
"fee": 0, "additional": {} },
"general_response": {
"response_status": true,
"response_code": 200, "response_message":
"Success", "response_timestamp": "2021-02-
09T13:32:39+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "Price changes have
occurred, Please try again",
"response_timestamp": "2021-02-
17T17:39:22+07:00" }
}
				
			

GoldPro Get Wilayah

The GoldPro Get Region API is used to check the nearest physical gold collection point.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/address/subdistrict
				
			

Response (Success)

				
					Body
{
"data": [],
"general_response": {
"response_status": true,
"response_code": 200, "response_message":
"Success",
"response_timestamp": "2021-02-
09T15:09:13+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "Field kecamatan is
required.", "response_timestamp": "2021-02-
17T17:46:18+07:00" }
}
				
			

GoldPro Get Address

The GoldPro Get Address API is used to check the nearest physical gold collection point.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/withdraw/address

				
			

Response (Success)

				
					Body
{
"data": {
"request_id": "4118",
"phone_number": "085777090084",
"province": "DKI Jakarta",
"city": "Jakarta Pusat",
"district": "Gambir",
"subdistrict": "Duri Pulo",
"address": "Jl. Sinyar 6 Rt.12 Rw.09",
"zip_code": "10140",
"note": "tes",
"ktp": "3174010109970007" },
"general_response": {
"response_status": true,
"response_code": 200,
"response_message": "Success",
"response_timestamp": "2021-02-
10T10:44:55+07:00" }
}
				
			

GoldPro Transfer Check Out

The GoldPro Transfer Check Out API is used to transfer gold to fellow GoldPro users.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/transfer/checkout

				
			

Response (Success)

				
					Body
{
"data": {
"response_id": "1613022031",
"phone_number": "085777090084",
"gold_weight": 0.5,
"amount": 423250,
"fee": 0,
"additional": { 
"product": "Emas Logam Mulia 99.99%",
"recipient": " (082185720070)",
"remarks": "Test Roy" } },
"general_response": {
"response_status": true,
"response_code": 200,
"response_message": "Success",
"response_timestamp": "2021-02-
11T11:31:23+07:00" }
}
				
			

GoldPro Check Out Gram

The GoldPro Check Out Gram API is used to check the purchase price of gold by gram.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/checkout/gram
				
			

Response (Success)

				
					Body
{
"data": {
"response_id": "1612853774",
"phone_number": "085777090084",
"gold_weight": 0.0005,
"amount": 441,
"fee": 5000,
"additional": {} },
"general_response": {
"response_status": true,
"response_code": 200,
"response_message": "Success",
"response_timestamp": "2021-02-
09T12:48:04+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "User not found",
"response_timestamp": "2021-02-
15T11:10:11+07:00" }
}
				
			

GoldPro Check Out Rupiah

GoldPro Check Out Rupiah API is used to check the purchase price of gold based on Rupiah.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/checkout/rupiah

				
			

Response (Success)

				
					Body
{
"data": {
"response_id": "1612854864",
"phone_number": "085777090084",
"gold_weight": 0.0113,
"amount": 10000,
"fee": 5000,
"additional": {} },
"general_response": {
"response_status": true, 
"response_code": 200, "response_message":
"Success", "response_timestamp": "2021-02-
09T13:06:06+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "User not found",
"response_timestamp": "2021-02-
17T16:47:48+07:00"}
}
				
			

GoldPro Check Out Sell Gram

API GoldPro Check Out Sell Gram is used to check the selling price of gold by gram.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/checkout/sell
				
			

Response (Success)

				
					Body
{
"data": {
"response_id": "1612856463",
"phone_number": "085777090084",
"gold_weight": 0.0005,
"amount": 423,
"fee": 0, "additional": {} },
"general_response": {
"response_status": true,
"response_code": 200, "response_message":
"Success", "response_timestamp": "2021-02-
09T13:32:39+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "Price changes have
occurred, Please try again",
"response_timestamp": "2021-02-
17T17:39:22+07:00" }
}
				
			

GoldPro Get Chart

The GoldPro Get Chart API is used to display the selling and buying price of gold based on the API request time.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/chart/buy
				
			

Response (Success)

				
					Body
{
"data": [ { "date": "03 Feb 2021", "value": 883380 }, {
"date": "04 Feb 2021", "value": 883380 }, { "date":
"05 Feb 2021", "value": 878335 }, { "date": "06 Feb
2021", "value": 878335 }, { "date": "07 Feb 2021",
"value": 878335 }, { "date": "08 Feb 2021", "value":
880859 }, { "date": "09 Feb 2021", "value": 880859 } ],
"general_response": { "response_status": true,
"response_code": 200,
"response_message": "Success", 
"response_timestamp": "2021-02-
09T15:00:59+07:00" } }
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "Invalid Params",
"response_timestamp": "2021-02-
17T17:46:31+07:00" }
}
				
			

GoldPro Withdraw Address

The GoldPro Withdraw Address API is used to display the physical gold withdrawal address based on the address input by the user.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/withdraw/address
				
			

Response (Success)

				
					Body
{
"data": {
"request_id": "4118",
"phone_number": "085777090084",
"province": "DKI Jakarta",
"city": "Jakarta Pusat",
"district": "Gambir",
"subdistrict": "Duri Pulo",
"address": "Jl. Sinyar 6 Rt.12 Rw.09",
"zip_code": "10140",
"note": "tes",
"ktp": "3174010109970007" },
"general_response": {
"response_status": true,
"response_code": 200,
"response_message": "Success",
"response_timestamp": "2021-02-
10T10:44:55+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "User Not Found",
"response_timestamp": "2021-02-
17T17:53:33+07:00" }
}
				
			

GoldPro Withdraw Confirmation

GoldPro Withdraw Confirmation API is used to confirm gold withdrawal transactions.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/withdraw/confirm
				
			

Response (Success)

				
					Body
{
"data": {
"request_id": "1613018314",
"response_id": "10821021106", "phone_number":
"085777090084",
"gold_weight": 2,
"amount": 147975,
"fee": 0,
"additional": {
"product": "LM Antam 99.99% (2 gram)",
"shipping": "SAP - REG, 1 - 3 Hari",
"estimation_product": 1318000,
"shipping_cost": 47975,
"certificate_fee": 100000,
"grand_total": 147975 }, "session_id":
"D780E36D125EDA2CEB0FCCCEB552B5AA" },
"general_response": {
"response_status": true,
"response_code": 200,
"response_message": "Success",
"response_timestamp": "2021-02-
11T10:30:57+07:00" }
}
				
			

GoldPro Transfer Confirmation

The GoldPro Transfer Confirmation API is used to perform gold transfer transaction information among fellow GoldPro users.

Endpoint

				
					[POST]
https://apigw-devel.kaspro.id/v2/gold-pro/transfer/confirm
				
			

Response (Success)

				
					Body
{
"data": {
"request_id": "1613022031",
"response_id": "9674",
"phone_number": "08xxxxxxxx084",
"gold_weight": 0.5,
"amount": 423250, 
"fee": 0,
"additional": {
"product": "Emas Logam Mulia 99.99%",
"recipient": "Dicha Putri Pradita (08xxxxxxx70)",
"remarks": "Test Roy" },
"session_id":
"5B1DB2793E21B5E6908D75BF96F3C3FA" },
"general_response": {
"response_status": true,
"response_code": 200,
"response_message": "Success",
"response_timestamp": "2021-02-
11T11:37:37+07:00" }
}
				
			

Response (Fail)

				
					Body
{
"general_response": {
"response_status": false,
"response_code": 400,
"response_message": "Invalid recipient",
"response_timestamp": "2021-02-
17T18:01:05+07:00" }
}
				
			
id_IDBahasa Indonesia