Skip to content

Instantly share code, notes, and snippets.

@rkbi
Created December 7, 2020 18:10
Show Gist options
  • Save rkbi/f7873a07b3ecc1052d4fb1cd96e59e32 to your computer and use it in GitHub Desktop.
Save rkbi/f7873a07b3ecc1052d4fb1cd96e59e32 to your computer and use it in GitHub Desktop.
Postman Collection for SSLCommerz Sandbox
{
"info": {
"_postman_id": "fa263d8e-2a23-49a3-aae4-e138ac1c5f9c",
"name": "SSLCommerz Sandbox",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "https://sandbox.sslcommerz.com/gwprocess/v4/api.php",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "store_id",
"value": "testbox",
"type": "text"
},
{
"key": "store_passwd",
"value": "qwerty",
"type": "text"
},
{
"key": "total_amount",
"value": "100",
"type": "text"
},
{
"key": "currency",
"value": "EUR",
"type": "text"
},
{
"key": "tran_id",
"value": "REF123",
"type": "text"
},
{
"key": "success_url",
"value": "http://yoursite.com/success.php",
"type": "text"
},
{
"key": "fail_url",
"value": "http://yoursite.com/fail.php",
"type": "text"
},
{
"key": "cancel_url",
"value": "http://yoursite.com/cancel.php",
"type": "text"
},
{
"key": "cus_name",
"value": "Customer Name",
"type": "text"
},
{
"key": "cus_email",
"value": "cust@yahoo.com",
"type": "text"
},
{
"key": "cus_add1",
"value": "Dhaka",
"type": "text"
},
{
"key": "cus_add2",
"value": "Dhaka",
"type": "text"
},
{
"key": "cus_city",
"value": "Dhaka",
"type": "text"
},
{
"key": "cus_state",
"value": "Dhaka",
"type": "text"
},
{
"key": "cus_postcode",
"value": "1000",
"type": "text"
},
{
"key": "cus_country",
"value": "Bangladesh",
"type": "text"
},
{
"key": "cus_phone",
"value": "01711111111",
"type": "text"
},
{
"key": "cus_fax",
"value": "01711111111",
"type": "text"
},
{
"key": "ship_name",
"value": "Customer Name",
"type": "text"
},
{
"key": "ship_add1 ",
"value": "Dhaka",
"type": "text"
},
{
"key": "ship_add2",
"value": "Dhaka",
"type": "text"
},
{
"key": "ship_city",
"value": "Dhaka",
"type": "text"
},
{
"key": "ship_state",
"value": "Dhaka",
"type": "text"
},
{
"key": "ship_postcode",
"value": "1000",
"type": "text"
},
{
"key": "ship_country",
"value": "Bangladesh",
"type": "text"
},
{
"key": "multi_card_name",
"value": "mastercard,visacard,amexcard",
"type": "text"
},
{
"key": "value_a",
"value": "ref001_A",
"type": "text"
},
{
"key": "value_b",
"value": "ref002_B",
"type": "text"
},
{
"key": "value_c",
"value": "ref003_C",
"type": "text"
},
{
"key": "value_d",
"value": "ref004_D",
"type": "text"
},
{
"key": "shipping_method",
"value": "No",
"type": "text"
},
{
"key": "product_name",
"value": "Awesome Product",
"type": "text"
},
{
"key": "product_category",
"value": "General",
"type": "text"
},
{
"key": "product_profile",
"value": "General",
"type": "text"
}
]
},
"url": {
"raw": "https://sandbox.sslcommerz.com/gwprocess/v4/api.php",
"protocol": "https",
"host": [
"sandbox",
"sslcommerz",
"com"
],
"path": [
"gwprocess",
"v4",
"api.php"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment