{
  "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": 10000,
      "currency": "USD",
      "confirm": true,
      "amount_to_capture": 10000,
      "business_country": "US",
      "customer_id": "not_a_rick_roll",
      "return_url": "https://www.google.com",
      "payment_method": "card_redirect",
      "payment_method_type": "card_redirect",
      "payment_method_data": {
        "card_redirect": {
          "card_redirect": {}
        }
      }
    }
  },
  "url": {
    "raw": "{{baseUrl}}/payments",
    "host": ["{{baseUrl}}"],
    "path": ["payments"]
  },
  "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"
}
