{
  "opencollection": "1.0.0",
  "info": {
    "name": "Opply Activity Feed Rapyd API",
    "version": "0.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Rapyd",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "api_v1_rapyd_check_kyb_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/rapyd/check_kyb/",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "api_v1_rapyd_check_pay_in_advance_availability_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/check_pay_in_advance_availability/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "api_v1_rapyd_get_checkout_id_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/get_checkout_id/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "api_v1_rapyd_get_checkout_id_supplier_terms_pay_by_card_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/get_checkout_id_supplier_terms_pay_by_card/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "step1 KYB questionnaire (onboarding)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/kyb/step1/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "step1 KYB questionnaire (onboarding)"
        },
        {
          "info": {
            "name": "api_v1_rapyd_payout_callback_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/payout/callback/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "api_v1_rapyd_payout_get_redirect_id_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/payout/get_redirect_id/",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "api_v1_rapyd_payout_set_company_type_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/payout/set_company_type/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "api_v1_rapyd_payout_status_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/rapyd/payout/status/",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "Should be called after Payment by Card on FE and before update_order_status_after_payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/save_customer_card/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "should be called after Payment by Card on FE and before update_order_status_after_payment"
        },
        {
          "info": {
            "name": "api_v1_rapyd_update_order_status_after_payment_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/update_order_status_after_payment/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "api_v1_rapyd_webhooks_secret_path_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/rapyd/webhooks/secret_path/"
          },
          "docs": "webhook body has such structure:\n{\nid: 'wh_81a54cf977b0b6b3ee57d870e2d6ec4a',\ntype: 'CUSTOMER_PAYMENT_METHOD_CREATED',\ndata: {some data structure depending on webhook type},\ntrigger_operation_id: '0fd3bdc9-de75-4768-bc12-b807582b069c',\nstatus: 'NEW',\ncreated_at: 1575812351\n}"
        }
      ]
    }
  ],
  "bundled": true
}