PG_Demo_App.postman_collection.json - cafe24github/cafe24_app_pg_sample GitHub Wiki

{
"info": {
"_postman_id": "450fb6df-5e98-4be1-b5f9-574917048680", "name": "PG Demo App", "description": "This collection demonstrates how a PG app integrates Cafe24 together with a Payment Company's system to create a payment method that can be integrated to a Cafe24 EC mall.", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "9796447"

}, "item": [

{

"name": "Admin auth", "item": [

{

"name": "auth", "request": {

"method": "GET", "header": [], "url": {

"raw": "{{BASE_URL}}/?mall_id=demomall&user_id=demomall_user&user_type=A&nation=ja", "host": [

"{{BASE_URL}}"

], "path": [

""

], "query": [

{
"key": "mall_id", "value": "demomall"

}, {

"key": "user_id", "value": "demomall_user"

}, {

"key": "user_type", "value": "A"

}, {

"key": "nation", "value": "ja"

}

]

}, "description": "This endpoint is called by the Cafe24 oAuth when the app is opened in the admin/merchant's Cafe24 EC Admin dashboard. nIt will redirect to the Cafe24 Authentication endpoint to request for an authorization code which will be used to request for an access token."

}, "response": []

}, {

"name": "auth callback", "request": {

"method": "GET", "header": [], "url": {

"raw": "{{BASE_URL}}/auth/token?code=eGYz9akKBqYAN3rRqEuiRA&state=eyJtYWxsX2lkIjoiZGVtb21hbGwifQ==", "host": [

"{{BASE_URL}}"

], "path": [

"auth", "token"

], "query": [

{
"key": "code", "value": "eGYz9akKBqYAN3rRqEuiRA"

}, {

"key": "state", "value": "eyJtYWxsX2lkIjoiZGVtb21hbGwifQ=="

}

]

}, "description": "This endpoint is called by the Cafe24 oAuth to give the PG app the authorization code and request for an access token."

}, "response": []

}

]

}, {

"name": "Admin", "item": [

{

"name": "admin-display", "request": {

"method": "GET", "header": [], "url": {

"raw": "{{BASE_URL}}/admin/display?mall_id=demomall", "host": [

"{{BASE_URL}}"

], "path": [

"admin", "display"

], "query": [

{
"key": "mall_id", "value": "demomall"

}

]

}, "description": "This endpoint displays the admin settings page."

}, "response": []

}, {

"name": "link credentials", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rn "mall_id": "demomall",rn "public_key": "demo-app-public-key",rn "secret_key": "demo-app-secret-key"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/admin/link", "host": [

"{{BASE_URL}}"

], "path": [

"admin", "link"

]

}, "description": "This endpoint will validate and store the merchant's PG Company credentials."

}, "response": []

}, {

"name": "unlink credentials", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rn "mall_id": "demomall"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/admin/unlink", "host": [

"{{BASE_URL}}"

], "path": [

"admin", "unlink"

]

}, "description": "This endpoint will clear the stored PG Company credentials of the merchant from the app's data."

}, "response": []

}, {

"name": "shop toggle", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rn "mall_id": "demomall",rn "action": "enable",rn "shop_index": 0rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/admin/shop/toggle", "host": [

"{{BASE_URL}}"

], "path": [

"admin", "shop", "toggle"

]

}, "description": "This endpoint will enable/disable the Payment Company in the specified Cafe24 shop."

}, "response": []

}

]

}, {

"name": "Checkout (Asynchronous)", "item": [

{

"name": "checkout", "request": {

"method": "POST", "header": [

{
"key": "x-custom-password", "value": " $2y$10$Q2jEUsai5sEV4kW21xbXSOmNCKdzPyt4fzUEUlPtTON.0gQpTBtHq", "type": "text"

}

], "body": {

"mode": "raw", "raw": "{rnt"request_type": "request",rnt"partner_id": "demomall:0:demo-app-public-key",rnt"end_user_ip": "14.128.146.89",rnt"shop_name": "Tindahan",rnt"shop_no": "1",rnt"order_id": "20220519-0000029",rnt"paymethod": "etc",rnt"currency": "PHP",rnt"country_code": "EN",rnt"encoding_type": "UTF-8",rnt"buyer_id": "mockbuyer",rnt"buyer_name": "mock buyer",rnt"buyer_phone": "63-2620com",rnt"buyer_addr": "Lingah",rnt"receiver_name": "cafe24 caf9311262",rnt"buyer_email": "[email protected]",rnt"receiver_phone": "63-26209311262",rnt"receiver_addr": "Madaya LUMBATAN LANAO DEL SUR Lingah LUUK SULU",rnt"goods_name": "ud68cuc6d0ub4f1uae09ud560uc778uc801uc6a9ud55cuc0c1ud488",rnt"amount": "3065.00",rnt"amount_tax_free": "0",rnt"amount_vat": "0",rnt"amount_tax": "0",rnt"return_url": "https://mockmall.cafe24shop.com/Pay/Recv/openpg/PayReceiveRtnPage.php",rnt"return_noty_url": "https://ectmtjpq001.cafe24shop.com/Pay/Recv/openpg/PayReceiveNoty.php",rnt"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.5",rnt"hash_data": "PqdhLPSBVBAfvACZ7YJjSv3Wv5RXXjfnjF8SxPTHqgM=",rnt"extra_data":rnt{rntt"pgName": "pg-demo-app",rntt"orderId": "20220519-0000029",rntt"LogKey": "PGPy051917134394802320q941c03955e4qt9415",rntt"sRdrLogKey": "PGPy051917134394802350q052c25850tq12501e"rnt},rnt"additional_payment_info":rnt{rntt"0":rntt{rnttt"product_name": "ud68cuc6d0ub4f1uae09 ud560uc778 uc801uc6a9ud55c uc0c1ud488",rnttt"quantity": 3,rnttt"payment_info": null,rnttt"additional_info": false,rnttt"unit_amount": 1000rntt},rntt"buyer_firstname": "mock",rntt"buyer_lastname": "buyer",rntt"shipping_fee": 65,rntt"discount_price": 0rnt},rnt"ship_country": "PH",rnt"ship_zip": null,rnt"ship_state": "SULU",rnt"ship_city": "LUUK",rnt"ship_address": "Lingah",rnt"ship_address2": "Madaya LUMBATAN LANAO DEL SUR",rnt"ship_option_1": "F"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/asynchronous-checkout/checkout", "host": [

"{{BASE_URL}}"

], "path": [

"api", "asynchronous-checkout", "checkout"

]

}, "description": "This endpoint is called by Cafe24, receiving the checkout data from the Cafe24 EC mall. nIt will return the payment URL where Cafe24 will redirect the buyer to approve the payment."

}, "response": []

}, {

"name": "callback", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rnt"reference_no": "20220519-0000029",rnt"order_code": "pg-order-001",rnt"status": "P",rnt"message": "Order created, waiting for payment",rnt"amount": "3065.00",rnt"currency": "PHP",rnt"digest": "b386f9ee389830ad27ac62d9bdfda3b78e2004ca"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/asynchronous-checkout/checkout/callback", "host": [

"{{BASE_URL}}"

], "path": [

"api", "asynchronous-checkout", "checkout", "callback"

]

}, "description": "The PG Company will call this endpoint after the buyer approves the payment request. nIt will verify and store new order details from the PG Company. nIt will then redirect to Cafe24's return URL (return_url)."

}, "response": []

}, {

"name": "webhook", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rn "reference_id" : "20220519-0000029",rn "order_code" : "pg-order-001",rn "status" : "S",rn "message" : "Order created and waiting for payment.",rn "amount" : "3065.00",rn "currency" : "PHP",rn "digest" : "1072ffb231d2be50ec188711655a9e22ca085573"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/asynchronous-checkout/checkout/webhook", "host": [

"{{BASE_URL}}"

], "path": [

"api", "asynchronous-checkout", "checkout", "webhook"

]

}, "description": "The PG Company will call this endpoint to update the PG app for the payment status. nThe app will then call the noty URL (return_noty_url) of Cafe24 to update them of the status asynchronously."

}, "response": []

}

]

}, {

"name": "Checkout (Synchronous)", "item": [

{

"name": "checkout", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rnt"request_type": "request",rnt"partner_id": "demomall:0:demo-app-public-key",rnt"end_user_ip": "14.128.146.89",rnt"shop_name": "Tindahan",rnt"shop_no": "1",rnt"order_id": "20220519-0000029",rnt"paymethod": "etc",rnt"currency": "PHP",rnt"country_code": "EN",rnt"encoding_type": "UTF-8",rnt"buyer_id": "mockbuyer",rnt"buyer_name": "mock buyer",rnt"buyer_phone": "63-2620com",rnt"buyer_addr": "Lingah",rnt"receiver_name": "cafe24 caf9311262",rnt"buyer_email": "[email protected]",rnt"receiver_phone": "63-26209311262",rnt"receiver_addr": "Madaya LUMBATAN LANAO DEL SUR Lingah LUUK SULU",rnt"goods_name": "ud68cuc6d0ub4f1uae09ud560uc778uc801uc6a9ud55cuc0c1ud488",rnt"amount": "3065.00",rnt"amount_tax_free": "0",rnt"amount_vat": "0",rnt"amount_tax": "0",rnt"return_url": "https://demomall.cafe24shop.com/Pay/Recv/openpg/PayReceiveRtnPage.php",rnt"return_noty_url": "https://demomall.cafe24shop.com/Pay/Recv/openpg/PayReceiveNoty.php",rnt"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.5",rnt"hash_data": "PqdhLPSBVBAfvACZ7YJjSv3Wv5RXXjfnjF8SxPTHqgM=",rnt"extra_data":rnt{rntt"pgName": "pg-demo-app",rntt"orderId": "20220519-0000029",rntt"LogKey": "PGPy051917134394802320q941c03955e4qt9415",rntt"sRdrLogKey": "PGPy051917134394802350q052c25850tq12501e"rnt},rnt"additional_payment_info":rnt{rntt"0":rntt{rnttt"product_name": "ud68cuc6d0ub4f1uae09 ud560uc778 uc801uc6a9ud55c uc0c1ud488",rnttt"quantity": 3,rnttt"payment_info": null,rnttt"additional_info": false,rnttt"unit_amount": 1000rntt},rntt"buyer_firstname": "mock",rntt"buyer_lastname": "buyer",rntt"shipping_fee": 65,rntt"discount_price": 0rnt},rnt"ship_country": "PH",rnt"ship_zip": null,rnt"ship_state": "SULU",rnt"ship_city": "LUUK",rnt"ship_address": "Lingah",rnt"ship_address2": "Madaya LUMBATAN LANAO DEL SUR",rnt"ship_option_1": "F"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/synchronous-checkout/checkout", "host": [

"{{BASE_URL}}"

], "path": [

"api", "synchronous-checkout", "checkout"

]

}, "description": "This endpoint is called by Cafe24, receiving the checkout data from the Cafe24 EC mall. nIt will return the payment URL where Cafe24 will redirect the buyer to approve the payment."

}, "response": []

}, {

"name": "callback", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rn "reference_no": "20220519-0000029",rn "order_code": "pg-order-001",rn "key": "sync-checkout:20220519-0000029"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/synchronous-checkout/checkout/callback", "host": [

"{{BASE_URL}}"

], "path": [

"api", "synchronous-checkout", "checkout", "callback"

]

}, "description": "The PG Company will call this endpoint after the buyer approves the payment request. nIt will verify and update the order status in the app's database. nIt will then redirect to Cafe24's return URL (return_url) to update Cafe24 the payment status."

}, "response": []

}, {

"name": "check status", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rn "key": "sync-checkout:20220519-0000029"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/synchronous-checkout/checkout/status", "host": [

"{{BASE_URL}}"

], "path": [

"api", "synchronous-checkout", "checkout", "status"

]

}, "description": "Cafe24 will call this endpoint to verify the payment status of the order from the PG Company which is already stored in the PG app's database."

}, "response": []

}

]

}, {

"name": "External Checkout", "item": [

{

"name": "script", "request": {

"method": "GET", "header": [], "url": {

"raw": "{{BASE_URL}}/api/external-checkout/script", "host": [

"{{BASE_URL}}"

], "path": [

"api", "external-checkout", "script"

]

}, "description": "StartFragmentnnThe Cafe24 Mall Front will call this endpoint if the PG app's "script-caller.js" is installed in a shop through the Cafe24 Scripttag API. nThis endpoint will append the functional JavaScript files for the payment button."

}, "response": []

}, {

"name": "script data", "request": {

"method": "GET", "header": [], "url": {

"raw": "{{BASE_URL}}/api/external-checkout/script/data?mall_id=demomall&shop_no=1", "host": [

"{{BASE_URL}}"

], "path": [

"api", "external-checkout", "script", "data"

], "query": [

{
"key": "mall_id", "value": "demomall"

}, {

"key": "shop_no", "value": "1"

}

]

}, "description": "The Cafe24 Mall Front will call this endpoint to retrieve the necessary data to initialize and display the payment button in the shop."

}, "response": []

}, {

"name": "hmac", "request": {

"method": "GET", "header": [], "url": {

"raw": "{{BASE_URL}}/api/external-checkout/script/hmac?mall_id=demomall&request_time=1657003037&client_key=iSCr50CoPxDpsmTLgede0A&member_id=mockuser", "host": [

"{{BASE_URL}}"

], "path": [

"api", "external-checkout", "script", "hmac"

], "query": [

{
"key": "mall_id", "value": "demomall"

}, {

"key": "request_time", "value": "1657003037"

}, {

"key": "client_key", "value": "iSCr50CoPxDpsmTLgede0A"

}, {

"key": "member_id", "value": "mockuser"

}

]

}, "description": "The Cafe24 Mall Front will call this endpoint to request for an HMAC data. nThe generated HMAC is going to be used in reserving an order to Cafe24 (precreateOrder API)."

}, "response": []

}, {

"name": "payload", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rnt"order": [rnt{rntt"shop_no": 1,rntt"category_no": 24,rntt"quantity": 1,rntt"additional_option_values": null,rntt"variant_code": "P000000W000C",rntt"product_bundle": "F",rntt"prefaid_shipping_fee": "P",rntt"attached_file_option": null,rntt"created_date": "2022-05-13 11:20:32",rntt"product_price": "1000.00",rntt"option_price": "100.00",rntt"product_bundle_price": null,rntt"product_no": 22,rntt"option_id": "000C",rntt"product_bundle_no": 0,rntt"shipping_type": "B",rntt"subscription": "F",rntt"subscription_cycle": null,rntt"subscription_shipments_cycle_count": 0,rntt"basket_product_no": 3111,rntt"product_name": "Basic Product (Custom Variant)",rntt"checked_products": "T",rntt"option_text": "\u30b5\u30a4\u30ba=S",rntt"product_bundle_list": nullrnt},rnt{rntt"shop_no": 1,rntt"category_no": 24,rntt"quantity": 1,rntt"additional_option_values": null,rntt"variant_code": "P000000W000A",rntt"product_bundle": "F",rntt"prefaid_shipping_fee": "P",rntt"attached_file_option": null,rntt"created_date": "2022-05-13 11:20:32",rntt"product_price": "1000.00",rntt"option_price": "-200.00",rntt"product_bundle_price": null,rntt"product_no": 22,rntt"option_id": "000A",rntt"product_bundle_no": 0,rntt"shipping_type": "B",rntt"subscription": "F",rntt"subscription_cycle": null,rntt"subscription_shipments_cycle_count": 0,rntt"basket_product_no": 3112,rntt"product_name": "Basic Product (Custom Variant)",rntt"checked_products": "T",rntt"option_text": "\u30ab\u30e9\u30fc=Black",rntt"product_bundle_list": nullrnt}],rnt"mall_id": "demomall",rnt"store_id": "Tindahan",rnt"member_id": "mockbuyer",rnt"currency": "PHP",rnt"order_id": "20220513-0000079",rnt"return_notification_url": "http://demomall.cafe24shop.com/Pay/Recv/openpg/PayReceiveCheckoutNoty.php",rnt"return_url_base": "http://demomall.cafe24shop.com",rnt"bGuest": 0,rnt"response_time": 1652409113,rnt"hmac": "iv2yYE6P7YEW1z1A18Z8yPrFfmq6TFPCJ3Nxu/vIefA="rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/external-checkout/payload", "host": [

"{{BASE_URL}}"

], "path": [

"api", "external-checkout", "payload"

]

}, "description": "The Cafe24 Mall Front will call this endpoint to create a checkout request to the PG Company and process the response which will be passed to the PG Company's JavaScript SDK to start the payment process."

}, "response": []

}, {

"name": "order review", "request": {

"method": "GET", "header": [], "url": {

"raw": "{{BASE_URL}}/api/external-checkout/order/review?mall_id=ectmtjpq001&order_id=20220513-0000079", "host": [

"{{BASE_URL}}"

], "path": [

"api", "external-checkout", "order", "review"

], "query": [

{
"key": "mall_id", "value": "ectmtjpq001"

}, {

"key": "order_id", "value": "20220513-0000079"

}

]

}, "description": "The PG Company will call this endpoint to preview the summary of order that the buyer will pay. nThis endpoint is optional because there are PG Companies that will redirect the buyer into their own payment preview page, but there are also PG Companies that will require the PG app to provide this endpoint."

}, "response": []

}, {

"name": "order pay", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rn "mall_id" : "demomall",rn "order_id" : "20220513-0000079"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/external-checkout/order/pay", "host": [

"{{BASE_URL}}"

], "path": [

"api", "external-checkout", "order", "pay"

]

}, "description": "The PG app will call this endpoint to send the approval of payment to the PG Company when the buyer proceeds with the checkout after confirming in the Order Preview Page. nThis endpoint is also only required if the PG Company will need the PG app to provide a review page."

}, "response": []

}, {

"name": "callback", "request": {

"method": "GET", "header": [], "url": {

"raw": "{{BASE_URL}}/api/external-checkout/order/callback?reference_no=20220513-0000079", "host": [

"{{BASE_URL}}"

], "path": [

"api", "external-checkout", "order", "callback"

], "query": [

{
"key": "reference_no", "value": "20220513-0000079"

}

]

}, "description": "The PG Company will call this endpoint to provide updates with the payment. nThe PG app will then send the updates to the Cafe24 through the external return notification URL (return_notification_url)."

}, "response": []

}

]

}, {

"name": "Cancellation (Asynchronous)", "item": [

{

"name": "cancel", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rnt"request_type": "cancel",rnt"partner_id": "demomall:0:demo-app-public-key",rnt"shop_no": "1",rnt"paymethod": "etc",rnt"tid": "pg-order-001",rnt"order_id": "20220519-0000029",rnt"escrow_tf": "F",rnt"currency": "PHP",rnt"amount": "3065",rnt"cancel_amount": "3065",rnt"remain_amount": "0",rnt"cancel_type": "C",rnt"cancel_reason": "u304au5ba2u69d8u90fdu5408",rnt"cancel_noty_url": "https://demomall.cafe24shop.com/Pay/Recv/openpg/PayReceiveCancelNoty.php",rnt"hash_data": "RyWEJV/6NkhMoiAM1c4waPs9uFLJUMedCDJtMQQx06A=",rnt"extra_data": "{\"pgName\":\"pg-demo-app\",\"LogKey\":\"PGPe03301537026222222202pppp0117e02gp606\"}",rnt"tax_free_tf": "F"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/asynchronous-refund/cancel", "host": [

"{{BASE_URL}}"

], "path": [

"api", "asynchronous-refund", "cancel"

]

}, "description": "Cafe24 will call this endpoint for the cancellation/refund of an order payment. nThe PG app makes the request to the PG Company."

}, "response": []

}, {

"name": "webhook", "request": {

"method": "POST", "header": [

{
"key": "CAFE24-JMETER-CUSTOM-HEADER", "value": "$2y$10$o5lzbFHM9BL8qSdMAhnwh.G2W2Wu0v7u0xhbXS3jo8C6MJC9be.CG", "type": "text"

}

], "body": {

"mode": "raw", "raw": "{rnt"reference_no": "20220519-0000029",rnt"order_code": "pg-order-001",rnt"refund_code": "pg-refund-001",rnt"refund_status": "R",rnt"refund_amount": "3065",rnt"message": "Payment refunded"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/asynchronous-refund/cancel/webhook", "host": [

"{{BASE_URL}}"

], "path": [

"api", "asynchronous-refund", "cancel", "webhook"

]

}, "description": "The PG Company will call this endpoint to notify the PG app of the cancellation/refund request status. nThe app will update Cafe24 of the cancellation status by calling the cancellation noty URL (cancel_noty_url) asynchronously."

}, "response": []

}

]

}, {

"name": "Cancellation (Synchronous)", "item": [

{

"name": "cancel", "request": {

"method": "POST", "header": [], "body": {

"mode": "raw", "raw": "{rnt"request_type": "cancel",rnt"partner_id": "ectmtjpq001:0:demo-app-public-key",rnt"shop_no": "1",rnt"paymethod": "etc",rnt"tid": "pg-order-001",rnt"order_id": "20220519-0000029",rnt"escrow_tf": "F",rnt"currency": "PHP",rnt"amount": "3065",rnt"cancel_amount": "3065",rnt"remain_amount": "0",rnt"cancel_type": "C",rnt"cancel_reason": "u304au5ba2u69d8u90fdu5408",rnt"cancel_noty_url": "https://ectmtjpq001.cafe24shop.com/Pay/Recv/openpg/PayReceiveCancelNoty.php",rnt"hash_data": "pkxl9F2H+tVtYkTRgqa7RFadrv6YEd5TwMhoQ9IOBUc=",rnt"extra_data": "{\"pgName\":\"pg-demo-app\",\"LogKey\":\"PGPe03301537026222222202pppp0117e02gp606\"}",rnt"tax_free_tf": "F"rn}", "options": {

"raw": {
"language": "json"

}

}

}, "url": {

"raw": "{{BASE_URL}}/api/synchronous-refund/cancel", "host": [

"{{BASE_URL}}"

], "path": [

"api", "synchronous-refund", "cancel"

]

}, "description": "Cafe24 will call this endpoint for the cancellation of an order payment. nThe PG app makes the request to the PG Company and returns the result back to Cafe24."

}, "response": []

}

]

}

], "event": [

{

"listen": "prerequest", "script": {

"type": "text/javascript", "exec": [

""

]

}

}, {

"listen": "test", "script": {

"type": "text/javascript", "exec": [

""

]

}

}

], "variable": [

{
"key": "BASE_URL", "value": "http://localhost:8000", "type": "string"

}

]

}

⚠️ **GitHub.com Fallback** ⚠️