{
  "method": "POST",
  "header": [
    {
      "key": "Content-Type",
      "value": "application/json"
    },
    {
      "key": "Accept",
      "value": "application/json"
    }
  ],
  "body": {
    "mode": "raw",
    "options": {
      "raw": {
        "language": "json"
      }
    },
    "raw_json_formatted": {
      "amount_to_capture": 500,
      "statement_descriptor_name": "John",
      "statement_descriptor_suffix": "JD"
    }
  },
  "url": {
    "raw": "{{baseUrl}}/payments/:id/capture",
    "host": [
      "{{baseUrl}}"
    ],
    "path": [
      "payments",
      ":id",
      "capture"
    ],
    "variable": [
      {
        "key": "id",
        "value": "{{payment_id}}"
      }
    ]
  },
  "description": "To process a payment you will have to create a payment, attach a payment method and confirm. Depending on the user journey you wish to achieve, you may opt to all the steps in a single request or in a sequence of API request using following APIs: (i) Payments - Update, (ii) Payments - Confirm, and (iii) Payments - Capture"
}
