{
  "opencollection": "1.0.0",
  "info": {
    "name": "Antifraud Access Payout Services API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "Payout Services",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Available Cryptocurrencies",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-sandbox.koin.com.br/v1/payment/payouts/currencies",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Service only for crypto payout. It will return the possible cryptocurrencies that the account is allowed to transact."
        },
        {
          "info": {
            "name": "Cryptocurrency Quotations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-sandbox.koin.com.br/v1/payment/payouts/quotation",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Service only for crypto payout. It will return the quote for the selected cryptocurrency"
        },
        {
          "info": {
            "name": "Get Payout by Reference ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.koin.com.br/v1/payment/payouts",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "Accept",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "reference_id",
                "value": "REF0000001",
                "type": "query",
                "description": "Transaction identifier, generated by client. (Maximum of 50 characters - Unique per transaction)"
              }
            ]
          },
          "docs": "Payout details service."
        },
        {
          "info": {
            "name": "Create Payout",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-sandbox.koin.com.br/v1/payment/payouts",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "In the payout service creation, all the required fields will be validated at first, after that, business validation rules will be run. The next table shows the information about the API."
        },
        {
          "info": {
            "name": "Get Payout",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.koin.com.br/v1/payment/payouts/:payout_id",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "Accept",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "payout_id",
                "value": "5t1bc9001-6b5a-4f21-b5ee-fd32m4f436c6",
                "type": "path",
                "description": "Payout ID returned by Create Payout api."
              }
            ]
          },
          "docs": "Payout details service."
        }
      ]
    }
  ],
  "bundled": true
}