{
  "opencollection": "1.0.0",
  "info": {
    "name": "Xfers Bank Account Modify Payments API",
    "version": "3"
  },
  "items": [
    {
      "info": {
        "name": "Modify Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Action list",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://id.xfers.com/api/v3/payment_gateway/payments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Transaction id in Xfers"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "List of actions to modify a given payment ID:\r\n1.  **cancel** : Cancel a payment when it is still in pending state. Status will be changed to 'cancelled'. (Unique Amount only)\r\n2.  **receive_payment** : Simulate Xfers receiving payment from the customer for a given contract id. Status will be changed to 'paid'. (Unique Amount and Sandbox only)\r\n3.  **settle** : Simulate Xfers disbursing payment to the destination account. Status will be changed to 'completed'. (Sandbox only)"
        }
      ]
    }
  ],
  "bundled": true
}