{
  "info": {
    "name": "Payku API — 🇵🇪 Peru (EN)",
    "description": "Official Payku API collection for Peru, generated from the OpenAPI specification.\n\n**Before you start:** also import the `payku-environment.postman_environment.json` environment and fill in `token_pub` and `token_priv` with your credentials from https://app.payku.cl/.\n\n`url_api` points at the sandbox (https://des.payku.cl). Switch it to https://app.payku.cl for production.\n\n**Important:** many error responses arrive with HTTP 200 — always check the `status` field in the JSON.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{token_pub}}",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Transaction",
      "item": [
        {
          "name": "Generate a transaction",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url_api}}/api/transaction",
              "host": [
                "{{url_api}}"
              ],
              "path": [
                "api",
                "transaction"
              ]
            },
            "description": "This method allows to create a payment order to **Payku** and receives as a response the **URL** to redirect the payer's browser and the **token** that identifies the transaction.\nOnce the payer makes the successful payment, **Payku** will notify the result to the page of the business that was sent in the **urlnotify** parameter.\n\n**additional_parameters** = allows sending additional information to be registered in payku associated with the transaction **order_ext** within additional_parameters, it is a reserved word, and it is useful to associate the transaction to a unique merchant identifier",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"joedoe@gmail.com\",\n  \"order\": \"987450011\",\n  \"subject\": \"Test subject\",\n  \"amount\": \"150.50\",\n  \"currency\": \"PEN\",\n  \"payment\": 21,\n  \"expired\": \"2022-10-19 13:05:10\",\n  \"urlreturn\": \"https://youwebsite.com/urlreturn?orderClient=123\",\n  \"urlnotify\": \"https://youwebsite.com/urlnotify?orderClient=123\",\n  \"additional_parameters\": {\n    \"parameters1\": \"keyValue\",\n    \"parameters2\": \"keyValue2\",\n    \"order_ext\": \"fff-777\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 — OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{url_api}}/api/transaction",
                  "host": [
                    "{{url_api}}"
                  ],
                  "path": [
                    "api",
                    "transaction"
                  ]
                },
                "description": "This method allows to create a payment order to **Payku** and receives as a response the **URL** to redirect the payer's browser and the **token** that identifies the transaction.\nOnce the payer makes the successful payment, **Payku** will notify the result to the page of the business that was sent in the **urlnotify** parameter.\n\n**additional_parameters** = allows sending additional information to be registered in payku associated with the transaction **order_ext** within additional_parameters, it is a reserved word, and it is useful to associate the transaction to a unique merchant identifier",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"joedoe@gmail.com\",\n  \"order\": \"987450011\",\n  \"subject\": \"Test subject\",\n  \"amount\": \"150.50\",\n  \"currency\": \"PEN\",\n  \"payment\": 21,\n  \"expired\": \"2022-10-19 13:05:10\",\n  \"urlreturn\": \"https://youwebsite.com/urlreturn?orderClient=123\",\n  \"urlnotify\": \"https://youwebsite.com/urlnotify?orderClient=123\",\n  \"additional_parameters\": {\n    \"parameters1\": \"keyValue\",\n    \"parameters2\": \"keyValue2\",\n    \"order_ext\": \"fff-777\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"pending\",\n  \"id\": \"trx32cb779c0a777fc68\",\n  \"url\": \"https://BASE-URL/payment_url\",\n  \"hash\": \"00020000000000000111111222233339030226304E245\",\n  \"qr_image\": \"data:image/png;base64,......\"\n}"
            }
          ]
        },
        {
          "name": "Get the status of multiple payments",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url_api}}/api/transaction",
              "host": [
                "{{url_api}}"
              ],
              "path": [
                "api",
                "transaction"
              ]
            },
            "description": "you can filter the search for transactions depending on their status. for example. /api/transaction?success=true or to fetch multiple status /api/transaction?pending=true&rejected=true.\n - date_init: indicates the date from which you want to start the transaction search, if this parameter is not sent the search will start with the current date.\n - date_end: indicates the date where you want the transaction search to end, if this parameter is not sent, the search will have the current date as the end date.\n - estatus: you can filter the search for transactions depending on their status. for example: /api/transaction?success=true or to bring multiple statuses /api/transaction?pending=true&rejected=true.\n\nFor pagination it is necessary to add the following at the end of the endpoint ?page=1&per_page=100 the first parameter being the page number and the second the number of records per page. In case you want to search for the transactions between the dates 01-09-2021 y 15-09-2021, also that they are only success status transactions, the url to use would be the following: https://[URL_BASE]/api/transaction?date_init=2021-09-01&date_end=2021-09-15&success=true."
          },
          "response": [
            {
              "name": "200 — OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{url_api}}/api/transaction",
                  "host": [
                    "{{url_api}}"
                  ],
                  "path": [
                    "api",
                    "transaction"
                  ]
                },
                "description": "you can filter the search for transactions depending on their status. for example. /api/transaction?success=true or to fetch multiple status /api/transaction?pending=true&rejected=true.\n - date_init: indicates the date from which you want to start the transaction search, if this parameter is not sent the search will start with the current date.\n - date_end: indicates the date where you want the transaction search to end, if this parameter is not sent, the search will have the current date as the end date.\n - estatus: you can filter the search for transactions depending on their status. for example: /api/transaction?success=true or to bring multiple statuses /api/transaction?pending=true&rejected=true.\n\nFor pagination it is necessary to add the following at the end of the endpoint ?page=1&per_page=100 the first parameter being the page number and the second the number of records per page. In case you want to search for the transactions between the dates 01-09-2021 y 15-09-2021, also that they are only success status transactions, the url to use would be the following: https://[URL_BASE]/api/transaction?date_init=2021-09-01&date_end=2021-09-15&success=true."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"transaction\": [\n    {\n      \"id\": \"10ac494c1d8da71d98ea\",\n      \"status\": \"success\",\n      \"created_at\": \"2019-10-25 14:10:03\",\n      \"email\": \"alex@onequark.com\",\n      \"amount\": \"98745\",\n      \"order\": \"1572023402\",\n      \"subject\": \"1572023402\",\n      \"payment\": {\n        \"start\": \"2020-12-16 15:10:33\",\n        \"end\": \"2020-12-16 15:10:36\",\n        \"media\": \"QR Interoperable\",\n        \"transaction_id\": \"107999\",\n        \"transaction_key\": null,\n        \"deposit_date\": \"2022-10-05\",\n        \"verification_key\": \"6669cbd982ef54c28f2f15fb9dc5262d\",\n        \"authorization_code\": \"107742\",\n        \"last_4_digits\": \"1233\",\n        \"installments\": 0,\n        \"card_type\": \"\",\n        \"additional_parameters\": {\n          \"identificador\": \"11.111.111-1\",\n          \"banco\": \"Banco Estado\",\n          \"numero_cuenta\": \"00126544977\"\n        },\n        \"currency\": \"PEN\"\n      },\n      \"nullify\": {\n        \"status\": \"complete\"\n      },\n      \"gateway_response\": {\n        \"status\": \"success\",\n        \"message\": \"successful transaction\"\n      }\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Get status of a payment",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url_api}}/api/transaction/:idtransaction",
              "host": [
                "{{url_api}}"
              ],
              "path": [
                "api",
                "transaction",
                ":idtransaction"
              ],
              "variable": [
                {
                  "key": "idtransaction",
                  "value": "",
                  "description": "idTransaction"
                }
              ]
            },
            "description": "This method allows you to obtain the information of a payment made in **Payku**"
          },
          "response": [
            {
              "name": "200 — OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{url_api}}/api/transaction/:idtransaction",
                  "host": [
                    "{{url_api}}"
                  ],
                  "path": [
                    "api",
                    "transaction",
                    ":idtransaction"
                  ],
                  "variable": [
                    {
                      "key": "idtransaction",
                      "value": "",
                      "description": "idTransaction"
                    }
                  ]
                },
                "description": "This method allows you to obtain the information of a payment made in **Payku**"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"success\",\n  \"id\": \"10ac494c1d8da71d98ea\",\n  \"created_at\": \"2019-10-25 14:10:03\",\n  \"order\": \"1572023402\",\n  \"email\": \"support@youwebsite.cl\",\n  \"subject\": \"1572023402\",\n  \"amount\": \"98745\",\n  \"payment\": {\n    \"start\": \"2020-12-16 15:10:33\",\n    \"end\": \"2020-12-16 15:10:36\",\n    \"media\": \"QR Interoperable\",\n    \"transaction_id\": \"107999\",\n    \"transaction_key\": null,\n    \"deposit_date\": \"2022-10-05\",\n    \"verification_key\": \"6669cbd982ef54c28f2f15fb9dc5262d\",\n    \"authorization_code\": \"107742\",\n    \"last_4_digits\": \"1233\",\n    \"installments\": 0,\n    \"card_type\": \"\",\n    \"additional_parameters\": {\n      \"identificador\": \"11.111.111-1\",\n      \"banco\": \"Banco Estado\",\n      \"numero_cuenta\": \"00126544977\",\n      \"network\": {\n        \"ip_address\": \"192.0.2.123\"\n      }\n    },\n    \"currency\": \"PEN\"\n  },\n  \"nullify\": {\n    \"status\": \"complete\"\n  },\n  \"gateway_response\": {\n    \"status\": \"success\",\n    \"message\": \"successful transaction\"\n  }\n}"
            }
          ]
        }
      ],
      "description": "It allows the creation of transactions and later check their status."
    },
    {
      "name": "Wallet",
      "item": [
        {
          "name": "Make payments to third parties from my wallet",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Sign",
                "value": "{{firma}}"
              }
            ],
            "url": {
              "raw": "{{url_api}}/api/wallet/payout",
              "host": [
                "{{url_api}}"
              ],
              "path": [
                "api",
                "wallet",
                "payout"
              ]
            },
            "description": "This method allows you to create a payment order to a third party using the funds in your wallet virtual **payku**.\n\n**Note:** For testing purposes (Development environment only), specific amounts will be processed automatically:\n \n&bull; Amounts 1000, 2000, 3000: Will be marked as **approved** automatically.\n \n&bull; Amounts 1500, 2500, 3500: Will be marked as **rejected** automatically.\n\n---\nThis operation requires the `Sign` signature (HMAC-SHA256 with your private token). The pre-request script computes it automatically from the request body.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"support@youwebsite.cl\",\n  \"phone\": \"51906310864\",\n  \"subject\": \"test Gmoney peru\",\n  \"currency\": \"PEN\",\n  \"order\": \"0011010101777\",\n  \"amount\": 1,\n  \"accountbank_name\": \"PAYKU PERU SAC\",\n  \"accountbank_rut\": 47566578,\n  \"accountbank_sbif\": \"001\",\n  \"accountbank_type\": \"1\",\n  \"accountbank_num\": \"01128901338000251968\",\n  \"url_notify\": \"https://youwebsite.com/urlnotify?orderClient=98745\",\n  \"additional_parameters\": {\n    \"parameter_1\": \"keyValue\",\n    \"parameter_2\": \"keyValue2\",\n    \"order_ext\": \"fff-777\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 — OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Sign",
                    "value": "{{firma}}"
                  }
                ],
                "url": {
                  "raw": "{{url_api}}/api/wallet/payout",
                  "host": [
                    "{{url_api}}"
                  ],
                  "path": [
                    "api",
                    "wallet",
                    "payout"
                  ]
                },
                "description": "This method allows you to create a payment order to a third party using the funds in your wallet virtual **payku**.\n\n**Note:** For testing purposes (Development environment only), specific amounts will be processed automatically:\n \n&bull; Amounts 1000, 2000, 3000: Will be marked as **approved** automatically.\n \n&bull; Amounts 1500, 2500, 3500: Will be marked as **rejected** automatically.\n\n---\nThis operation requires the `Sign` signature (HMAC-SHA256 with your private token). The pre-request script computes it automatically from the request body.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"support@youwebsite.cl\",\n  \"phone\": \"51906310864\",\n  \"subject\": \"test Gmoney peru\",\n  \"currency\": \"PEN\",\n  \"order\": \"0011010101777\",\n  \"amount\": 1,\n  \"accountbank_name\": \"PAYKU PERU SAC\",\n  \"accountbank_rut\": 47566578,\n  \"accountbank_sbif\": \"001\",\n  \"accountbank_type\": \"1\",\n  \"accountbank_num\": \"01128901338000251968\",\n  \"url_notify\": \"https://youwebsite.com/urlnotify?orderClient=98745\",\n  \"additional_parameters\": {\n    \"parameter_1\": \"keyValue\",\n    \"parameter_2\": \"keyValue2\",\n    \"order_ext\": \"fff-777\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"success\",\n  \"identifier_wallet\": \"wab5f7232dafff18f9\",\n  \"identifier_payout\": \"mpe33e36b01e8a11b9ee\"\n}"
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Computes the `Sign` header documented in the Firma / Signature section.",
                  "const requestPath = encodeURIComponent(\"/api/wallet/payout\");",
                  "let body = {};",
                  "try { body = JSON.parse(pm.request.body ? pm.request.body.raw : \"{}\") || {}; } catch (e) { body = {}; }",
                  "",
                  "const pairs = Object.keys(body).sort()",
                  "  .filter((key) => body[key] !== null && typeof body[key] !== \"object\")",
                  "  .map((key) => encodeURIComponent(key) + \"=\" + encodeURIComponent(body[key]).replace(/%20/g, \"+\"));",
                  "",
                  "const concat = [requestPath].concat(pairs).join(\"&\");",
                  "const sign = CryptoJS.HmacSHA256(concat, pm.environment.get(\"token_priv\")).toString();",
                  "pm.environment.set(\"firma\", sign);"
                ]
              }
            }
          ]
        },
        {
          "name": "Get payout V3",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Sign",
                "value": "{{firma}}"
              }
            ],
            "url": {
              "raw": "{{url_api}}/api/payoutv3/:identificadorpayout",
              "host": [
                "{{url_api}}"
              ],
              "path": [
                "api",
                "payoutv3",
                ":identificadorpayout"
              ],
              "variable": [
                {
                  "key": "identificadorpayout",
                  "value": "",
                  "description": "identificadorPayout"
                }
              ]
            },
            "description": "This method allows you to obtain a movement of payments to third parties from your **payku** virtual wallet using an identifier:\n\nTo perform the query it is necessary to add the following at the end of the endpoint /{identificadorPayout} for example: **api/payoutv3/mpe33e36b01e8a11b9ee**.\n\n---\nThis operation requires the `Sign` signature (HMAC-SHA256 with your private token). The pre-request script computes it automatically from the request body."
          },
          "response": [
            {
              "name": "200 — OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Sign",
                    "value": "{{firma}}"
                  }
                ],
                "url": {
                  "raw": "{{url_api}}/api/payoutv3/:identificadorpayout",
                  "host": [
                    "{{url_api}}"
                  ],
                  "path": [
                    "api",
                    "payoutv3",
                    ":identificadorpayout"
                  ],
                  "variable": [
                    {
                      "key": "identificadorpayout",
                      "value": "",
                      "description": "identificadorPayout"
                    }
                  ]
                },
                "description": "This method allows you to obtain a movement of payments to third parties from your **payku** virtual wallet using an identifier:\n\nTo perform the query it is necessary to add the following at the end of the endpoint /{identificadorPayout} for example: **api/payoutv3/mpe33e36b01e8a11b9ee**.\n\n---\nThis operation requires the `Sign` signature (HMAC-SHA256 with your private token). The pre-request script computes it automatically from the request body."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"payout\": {\n    \"id\": \"war3999847529816f2\",\n    \"phone\": \"111111111\",\n    \"email\": \"test@test.cl\",\n    \"subject\": \"subject order\",\n    \"amount\": \"3680\",\n    \"accountbank_rut\": \"111111111111\",\n    \"accountbank_name\": \"test\",\n    \"accountbank_type\": 1,\n    \"accountbank_num\": \"00328901338000251968\",\n    \"accountbank_sbif\": \"0001\",\n    \"status\": \"pending\",\n    \"update_at\": \"2022-06-09 21:10:46\",\n    \"origin_wallet\": \"wa1933f37cdaf7d1c6\",\n    \"reason_rejection\": \" Error CCA 51. Cuenta Beneficiario no Existe, error_creditor_account_not_found\"\n  }\n}"
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Computes the `Sign` header documented in the Firma / Signature section.",
                  "const requestPath = encodeURIComponent(\"/api/payoutv3/{identificadorPayout}\");",
                  "let body = {};",
                  "try { body = JSON.parse(pm.request.body ? pm.request.body.raw : \"{}\") || {}; } catch (e) { body = {}; }",
                  "",
                  "const pairs = Object.keys(body).sort()",
                  "  .filter((key) => body[key] !== null && typeof body[key] !== \"object\")",
                  "  .map((key) => encodeURIComponent(key) + \"=\" + encodeURIComponent(body[key]).replace(/%20/g, \"+\"));",
                  "",
                  "const concat = [requestPath].concat(pairs).join(\"&\");",
                  "const sign = CryptoJS.HmacSHA256(concat, pm.environment.get(\"token_priv\")).toString();",
                  "pm.environment.set(\"firma\", sign);"
                ]
              }
            }
          ]
        }
      ],
      "description": "Lets you generate bank transactions from your **payku** virtual wallet."
    },
    {
      "name": "Banks",
      "item": [
        {
          "name": "Get list of banks by currency type",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url_api}}/api/banks?currency=pen",
              "host": [
                "{{url_api}}"
              ],
              "path": [
                "api",
                "banks"
              ],
              "query": [
                {
                  "key": "currency",
                  "value": "pen"
                }
              ]
            },
            "description": "This method provides a list of partner banks filtered by currency.\nTo filter by currency, you have to add the query params currency with the currency value."
          },
          "response": [
            {
              "name": "200 — OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{url_api}}/api/banks?currency=pen",
                  "host": [
                    "{{url_api}}"
                  ],
                  "path": [
                    "api",
                    "banks"
                  ],
                  "query": [
                    {
                      "key": "currency",
                      "value": "pen"
                    }
                  ]
                },
                "description": "This method provides a list of partner banks filtered by currency.\nTo filter by currency, you have to add the query params currency with the currency value."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"success\",\n  \"banks\": [\n    {\n      \"code\": \"007\",\n      \"name\": \"Citibank Perú S.A.\",\n      \"currency\": \"PEN\"\n    }\n  ]\n}"
            }
          ]
        }
      ],
      "description": "Allows you to view the list of partner banks."
    },
    {
      "name": "Methods of payment",
      "item": [
        {
          "name": "Get list of payment methods on payku",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url_api}}/api/paymentmethods",
              "host": [
                "{{url_api}}"
              ],
              "path": [
                "api",
                "paymentmethods"
              ]
            },
            "description": "This method allows you to obtain a list of payment methods on payku."
          },
          "response": [
            {
              "name": "200 — OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{url_api}}/api/paymentmethods",
                  "host": [
                    "{{url_api}}"
                  ],
                  "path": [
                    "api",
                    "paymentmethods"
                  ]
                },
                "description": "This method allows you to obtain a list of payment methods on payku."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"success\",\n  \"payment_methods\": [\n    {\n      \"currency\": \"PEN\",\n      \"payment\": 21,\n      \"name\": \"QR Interoperable\",\n      \"description\": \"\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Get list of payment methods by currency type",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url_api}}/api/paymentmethods?currency=pen",
              "host": [
                "{{url_api}}"
              ],
              "path": [
                "api",
                "paymentmethods"
              ],
              "query": [
                {
                  "key": "currency",
                  "value": "pen"
                }
              ]
            },
            "description": "This method allows you to get a list of payment methods in payku.\nTo filter by currency, you have to add the query params currency with the currency value."
          },
          "response": [
            {
              "name": "200 — OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{url_api}}/api/paymentmethods?currency=pen",
                  "host": [
                    "{{url_api}}"
                  ],
                  "path": [
                    "api",
                    "paymentmethods"
                  ],
                  "query": [
                    {
                      "key": "currency",
                      "value": "pen"
                    }
                  ]
                },
                "description": "This method allows you to get a list of payment methods in payku.\nTo filter by currency, you have to add the query params currency with the currency value."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"success\",\n  \"payment_methods\": [\n    {\n      \"currency\": \"PEN\",\n      \"payment\": 21,\n      \"name\": \"QR Interoperable\",\n      \"description\": \"\"\n    }\n  ]\n}"
            }
          ]
        }
      ],
      "description": "Allows you to view the list of payment methods used by payku."
    }
  ],
  "variable": [
    {
      "key": "url_api",
      "value": "https://des.payku.cl",
      "type": "string"
    }
  ]
}
