{
  "opencollection": "1.0.0",
  "info": {
    "name": "Grab Partner APIs (GrabID, GrabPay, GrabExpress)",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "GrabID",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "OpenID Connect discovery document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://partner-api.grab.com/grabid/v1/oauth2/.well-known/openid-configuration"
          },
          "docs": "OpenID Connect discovery document"
        },
        {
          "info": {
            "name": "Authorization endpoint (authorization code grant)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://partner-api.grab.com/grabid/v1/oauth2/authorize",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "redirect_uri",
                "value": "",
                "type": "query"
              },
              {
                "name": "response_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "scope",
                "value": "",
                "type": "query"
              },
              {
                "name": "state",
                "value": "",
                "type": "query"
              },
              {
                "name": "code_challenge",
                "value": "",
                "type": "query"
              },
              {
                "name": "code_challenge_method",
                "value": "",
                "type": "query"
              },
              {
                "name": "nonce",
                "value": "",
                "type": "query"
              },
              {
                "name": "acr_values",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Authorization endpoint (authorization code grant)"
        },
        {
          "info": {
            "name": "Token endpoint (exchange credentials/code for access token)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://partner-api.grab.com/grabid/v1/oauth2/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "client_id",
                  "value": ""
                },
                {
                  "name": "client_secret",
                  "value": ""
                },
                {
                  "name": "code",
                  "value": ""
                },
                {
                  "name": "code_verifier",
                  "value": ""
                },
                {
                  "name": "redirect_uri",
                  "value": ""
                },
                {
                  "name": "refresh_token",
                  "value": ""
                },
                {
                  "name": "scope",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Token endpoint (exchange credentials/code for access token)"
        },
        {
          "info": {
            "name": "Verify and decode ID token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://partner-api.grab.com/grabid/v1/oauth2/token-info",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Verify and decode ID token"
        }
      ]
    },
    {
      "info": {
        "name": "GrabPay",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Initiate a one-time charge",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://partner-api.grab.com/grabpay/partner/v2/charge/init",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Initiate a one-time charge"
        },
        {
          "info": {
            "name": "Complete a previously initiated charge",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://partner-api.grab.com/grabpay/partner/v2/charge/complete",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Complete a previously initiated charge"
        },
        {
          "info": {
            "name": "Get charge transaction status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://partner-api.grab.com/grabpay/partner/v2/charge/:partnerTxID",
            "params": [
              {
                "name": "partnerTxID",
                "value": "",
                "type": "path"
              },
              {
                "name": "currency",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get charge transaction status"
        },
        {
          "info": {
            "name": "Refund a charge",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://partner-api.grab.com/grabpay/partner/v2/refund",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Refund a charge"
        }
      ]
    },
    {
      "info": {
        "name": "GrabExpress",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Request a delivery quote",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://partner-api.grab.com/grab-express-sandbox/v1/deliveries/quotes",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Request a delivery quote"
        },
        {
          "info": {
            "name": "Create a delivery order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://partner-api.grab.com/grab-express-sandbox/v1/deliveries",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a delivery order"
        },
        {
          "info": {
            "name": "Get delivery status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://partner-api.grab.com/grab-express-sandbox/v1/deliveries/:deliveryID",
            "params": [
              {
                "name": "deliveryID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get delivery status"
        },
        {
          "info": {
            "name": "Cancel a delivery",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://partner-api.grab.com/grab-express-sandbox/v1/deliveries/:deliveryID",
            "params": [
              {
                "name": "deliveryID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Cancel a delivery"
        }
      ]
    }
  ],
  "bundled": true
}