{
  "openapi": "3.0.1",
  "info": {
    "title": "Bank of Canada RPAA Payment Service Provider KYB & Leads",
    "description": "Screen, enrich, and monitor 2,300+ Bank of Canada RPAA Registered Payment Service Providers, Stealth Fintech Applicants & Violations — enriched with direct email, phone, website, payment functions, and FINTRAC MSB cross-checks.",
    "version": "1.0",
    "x-build-id": "0Rsv0SlmsbnbPMdA8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/regpulse-data~canada-rpaa-psp-fintech-kyb-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-regpulse-data-canada-rpaa-psp-fintech-kyb-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/regpulse-data~canada-rpaa-psp-fintech-kyb-leads/runs": {
      "post": {
        "operationId": "runs-sync-regpulse-data-canada-rpaa-psp-fintech-kyb-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/regpulse-data~canada-rpaa-psp-fintech-kyb-leads/run-sync": {
      "post": {
        "operationId": "run-sync-regpulse-data-canada-rpaa-psp-fintech-kyb-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Operating Mode",
            "enum": [
              "psp_search",
              "applicants_radar",
              "enforcement_and_revocations",
              "watchlist_changes"
            ],
            "type": "string",
            "description": "Choose 'psp_search' for full PSP contact enrichment & FINTRAC dual-licensing KYB screening, 'applicants_radar' to track 400+ stealth fintechs currently 'In Review' with Bank of Canada, 'enforcement_and_revocations' for RPAA Notices of Violation, Governor Decisions & Refused/Revoked PSPs, or 'watchlist_changes' for stateful scheduled delta alerts.",
            "default": "psp_search"
          },
          "searchQueries": {
            "title": "Search Queries (Legal Name, Trade Name, Domain, Email, or Account UUID)",
            "type": "array",
            "description": "Optional search keywords matched case-insensitively against Legal Name (EN/FR), Main Trade Name, DBA/Operating Names, Website Domain, Email, City, or Bank of Canada Account UUID.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "RPAA Registration Status Filter (psp_search mode)",
            "type": "array",
            "description": "Filter by Bank of Canada status: 'Registered', 'In Review', 'Refused', or 'Revoked'. Leave empty in 'psp_search' mode to default to 'Registered' + 'In Review', or specify any combination.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Headquarters Country Filter (ISO-2 or Country Name)",
            "type": "array",
            "description": "Optional country filter accepting ISO-2 codes or names (e.g., 'CA', 'Canada', 'US', 'United States', 'GB', 'United Kingdom', 'SG', 'Singapore'). Leave empty for all countries.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "provincesOrStates": {
            "title": "Province / State Filter",
            "type": "array",
            "description": "Optional head-office province or state filter (e.g., 'ON', 'BC', 'QC', 'AB', 'NY', 'CA', 'DE').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "paymentFunctions": {
            "title": "Statutory RPAA Payment Functions Filter",
            "type": "array",
            "description": "Filter Registered PSPs by statutory RPAA activity codes: 'ACCOUNT_MAINTENANCE', 'HOLDING_FUNDS', 'EFT_INITIATION', 'EFT_AUTHORIZATION_TRANSMISSION', or 'CLEARING_SETTLEMENT'. Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "hasEmailOnly": {
            "title": "Require Direct Contact Email Address",
            "type": "boolean",
            "description": "Return only PSP records containing a direct contact email address.",
            "default": false
          },
          "corporateEmailOnly": {
            "title": "Require Corporate Domain Email (Exclude Gmail/Yahoo/Outlook)",
            "type": "boolean",
            "description": "Return only PSPs with a custom corporate email domain (ideal for B2B fintech outbound lead generation).",
            "default": false
          },
          "hasPhoneOnly": {
            "title": "Require Direct Contact Phone Number",
            "type": "boolean",
            "description": "Return only PSP records containing a direct telephone number.",
            "default": false
          },
          "hasWebsiteOnly": {
            "title": "Require Website URL",
            "type": "boolean",
            "description": "Return only PSP records with a published website domain.",
            "default": false
          },
          "onlyWithEnforcementOrRefusal": {
            "title": "Only PSPs with Violations, Refusals, Revocations or FINTRAC Alerts",
            "type": "boolean",
            "description": "Return only high-risk PSPs that have Bank of Canada RPAA violations, refusal/revocation orders, or revoked/ceased FINTRAC MSB status.",
            "default": false
          },
          "onlyDualLicensingGap": {
            "title": "Only Dual-Licensing Gap Entities (Bank of Canada PSP without Active FINTRAC MSB Match)",
            "type": "boolean",
            "description": "Return PSPs registered or applying under Bank of Canada RPAA that have no active matching FINTRAC MSB registration on file (high-intent AML compliance & legal advisory leads).",
            "default": false
          },
          "registeredOrAppliedSince": {
            "title": "Registered or Applied Since (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional ISO date filter (e.g., '2026-06-01') returning only PSPs registered or submitted on/after this date.",
            "default": ""
          },
          "includeFintracCrossMatch": {
            "title": "Cross-Enrich Against FINTRAC MSB Registry",
            "type": "boolean",
            "description": "Automatically cross-match every Bank of Canada PSP against FINTRAC's 9,000+ Money Services Business registry by legal/trade name and website domain.",
            "default": true
          },
          "stateStoreName": {
            "title": "Watchlist Named Key-Value Store (watchlist_changes mode)",
            "type": "string",
            "description": "Persistent Apify Key-Value Store name used to track new PSP applicants, newly approved registrations, refusals/revocations, and new RPAA violation decisions across scheduled runs.",
            "default": "rpaa-psp-watchlist-state"
          },
          "maxResults": {
            "title": "Max Results (0 = Unlimited)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of enriched records to deliver and bill in this run. Defaults to 100 for fast previewing; set to 0 to export all matching PSPs.",
            "default": 100
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}