openapi: 3.0.2 info: title: Finix Authorizations Verifications API description: $ref: api-descriptions/main.md contact: name: Finix url: https://finix.com email: support@finixpayments.com version: '2022-02-01' servers: - description: Sandbox server to be used for testing and development url: https://finix.sandbox-payments-api.com security: - BasicAuth: [] tags: - name: Verifications description: $ref: api-descriptions/tags/verifications.md paths: /merchants/{merchant_id}/verifications: parameters: - description: ID of `Merchant` object. required: true in: path name: merchant_id schema: type: string get: description: Get a list of all the `Verifications` for a `Merchant` resource. summary: List Merchant Verifications operationId: listMerchantVerifications parameters: - required: false in: query name: limit schema: type: integer format: int64 description: The number of entries to return. - $ref: '#/components/parameters/QueryAfterCursor' - $ref: '#/components/parameters/QueryBeforeCursor' responses: '200': $ref: '#/components/responses/VerificationsList' '401': $ref: '#/components/responses/ErrorUnauthorized' '403': $ref: '#/components/responses/ErrorForbidden403' '404': $ref: '#/components/responses/ErrorNotFound' '406': $ref: '#/components/responses/Error406NotAcceptable' x-internal: false x-java-method-name: listByMerchantId x-group-parameters: true tags: - Verifications x-codeSamples: - lang: cURL label: curl source: "curl \"https://finix.sandbox-payments-api.com/merchants/MUpaGK5dUb2Sb7aGuXhFRNbj/verifications\" \\\n -H \"Finix-Version: 2022-02-01\" \\\n -u USsRhsHYZGBPnQw8CByJyEQW:8a14c2f9-d94b-4c72-8f5c-a62908e5b30e\n" x-python-method-name: list_by_merchant_id x-returns-list: true /payment_instruments/{payment_instrument_id_verify}: parameters: - schema: type: string name: payment_instrument_id_verify in: path required: true get: tags: - Verifications description: List all the `Verifications` created for a `Payment Instrument`. summary: List Payment Instrument Verifications operationId: listPaymentInstrumentVerifications parameters: - required: false in: query name: limit schema: type: integer format: int64 description: The number of entries to return. - required: false in: query name: offset schema: type: integer format: int64 description: The number of items to skip before starting to collect the result set. - required: false in: query name: pageNumber schema: type: integer format: int64 description: The page number to list. - required: false in: query name: pageSize schema: type: integer format: int64 description: The size of the page. responses: '200': $ref: '#/components/responses/VerificationsList' '401': $ref: '#/components/responses/ErrorUnauthorized' '403': $ref: '#/components/responses/ErrorForbidden403' '404': $ref: '#/components/responses/ErrorNotFound' '406': $ref: '#/components/responses/Error406NotAcceptable' x-internal: false x-java-method-name: listByPaymentInstrumentId x-group-parameters: true x-codeSamples: - lang: cURL label: curl source: "curl \"https://finix.sandbox-payments-api.com/payment_instruments/PImc5nvdnp15atLxEBAGtxJs/verifications/\" \\\n -H \"Finix-Version: 2022-02-01\" \\\n -u USpEbizhxFRAFT7oYgWjX87B:6d3ace2c-23f9-4e59-8b75-a1a5b8a53055\n" x-python-method-name: list_by_payment_instrument_id x-returns-list: true /verifications: post: description: 'Create a `Verification` to verify a seller''s `Identity`. Verifications can also be created directly on the resources you want to verify. For example: - `POST /merchants/{merchant_id}/verifications` - `POST /payment_instruments/{payment_instrument_id}/verifications`' summary: Create a Merchant Verification operationId: createVerification requestBody: $ref: '#/components/requestBodies/CreateVerificationRequest' responses: '201': $ref: '#/components/responses/Verification' '400': $ref: '#/components/responses/ErrorUnprocessableEntity' '401': $ref: '#/components/responses/ErrorUnauthorized' '403': $ref: '#/components/responses/ErrorForbidden403' '406': $ref: '#/components/responses/Error406NotAcceptable' '422': $ref: '#/components/responses/Error422InvalidField' x-java-method-name: create x-codeSamples: - lang: cURL label: curl source: $ref: xcode/curl/verifications/merchant-verification.md tags: - Verifications x-python-method-name: create get: tags: - Verifications description: Retrieve a list of `Verifications`. summary: List Verifications operationId: listVerifications parameters: - $ref: '#/components/parameters/QueryLimit' - $ref: '#/components/parameters/QueryAfterCursor' - $ref: '#/components/parameters/QueryBeforeCursor' responses: '200': $ref: '#/components/responses/VerificationsList' '401': $ref: '#/components/responses/ErrorUnauthorized' '403': $ref: '#/components/responses/ErrorForbidden403' '406': $ref: '#/components/responses/Error406NotAcceptable' x-java-method-name: list x-group-parameters: true x-codeSamples: - lang: cURL label: curl source: "curl \"https://finix.sandbox-payments-api.com/verifications\" \\\n -H \"Finix-Version: 2022-02-01\" \\\n -u USsRhsHYZGBPnQw8CByJyEQW:8a14c2f9-d94b-4c72-8f5c-a62908e5b30e\n" x-python-method-name: list x-returns-list: true /verifications/{verification_id}: parameters: - description: ID of `Verification` object. required: true in: path name: verification_id schema: type: string get: tags: - Verifications description: Retrieve the details of a `Verification`. summary: Fetch a Verification operationId: getVerification responses: '200': $ref: '#/components/responses/Verification' '401': $ref: '#/components/responses/ErrorUnauthorized' '403': $ref: '#/components/responses/ErrorForbidden403' '404': $ref: '#/components/responses/ErrorNotFound' '406': $ref: '#/components/responses/Error406NotAcceptable' x-java-method-name: get x-codeSamples: - lang: cURL label: curl source: "curl \"https://finix.sandbox-payments-api.com/verifications/VIbXwBuccEcqw7rfZneELCv4\" \\\n -H \"Finix-Version: 2022-02-01\" \\\n -u USsRhsHYZGBPnQw8CByJyEQW:8a14c2f9-d94b-4c72-8f5c-a62908e5b30e\n" x-python-method-name: get components: headers: x-request-id: description: A unique ID for this specific API request attempt. schema: type: string date: schema: type: string finix-apiuser-role: schema: type: string enum: - ROLE_ADMIN - ROLE_PLATFORM - ROLE_PARTNER - ROLE_MERCHANT schemas: Error422InvalidFieldList: type: object description: Invalid field title: '' properties: total: type: integer _embedded: type: object properties: errors: type: array items: type: object properties: code: type: string enum: - INVALID_FIELD field: type: string logref: $ref: '#/components/schemas/LogRef' message: type: string _links: type: object properties: source: type: object properties: href: type: string ErrorGeneric: type: object properties: total: type: integer _embedded: type: object properties: errors: type: array items: type: object additionalProperties: true properties: code: type: string enum: - FORBIDDEN logref: $ref: '#/components/schemas/LogRef' message: type: string _links: type: object properties: source: type: object properties: href: type: string Error403ForbiddenList: type: object properties: total: type: integer _embedded: type: object properties: errors: type: array items: type: object additionalProperties: true properties: code: type: string enum: - FORBIDDEN logref: $ref: '#/components/schemas/LogRef' message: type: string _links: type: object properties: source: type: object properties: href: type: string description: '' title: '' Raw: title: Raw description: Raw response from the processor. x-examples: {} type: object nullable: true UpdatedAt: type: string title: UpdatedAt format: date-time description: Timestamp of when the object was last updated. Address: title: Address type: object description: Address of the account owner. nullable: true properties: city: type: string description: City (max 20 characters). nullable: true country: $ref: '#/components/schemas/Country' line1: type: string description: First line of the address (max 35 characters). nullable: true line2: type: string description: Second line of the address (max 35 characters). nullable: true postal_code: type: string description: Zip or Postal code (max 7 characters). nullable: true region: type: string description: 2-letter State code. nullable: true PageCursor: title: PageCursor x-stoplight: id: 8v9on8n2939z2 type: object properties: limit: type: integer description: The number of entries to return. next_cursor: type: string description: The cursor to use for the next page of results. nullable: true description: Details the page that's returned. Country: title: Country type: string enum: - ABW - AFG - AGO - AIA - ALA - ALB - AND - ARE - ARG - ARM - ASM - ATA - ATF - ATG - AUS - AUT - AZE - BDI - BEL - BEN - BES - BFA - BGD - BGR - BHR - BHS - BIH - BLM - BLR - BLZ - BMU - BOL - BRA - BRB - BRN - BTN - BVT - BWA - CAF - CAN - CCK - CHE - CHL - CHN - CIV - CMR - COD - COG - COK - COL - COM - CPV - CRI - CUB - CUW - CXR - CYM - CYP - CZE - DEU - DJI - DMA - DNK - DOM - DZA - ECU - EGY - ERI - ESH - ESP - EST - ETH - FIN - FJI - FLK - FRA - FRO - FSM - GAB - GBR - GEO - GGY - GHA - GIB - GIN - GLP - GMB - GNB - GNQ - GRC - GRD - GRL - GTM - GUF - GUM - GUY - HKG - HMD - HND - HRV - HTI - HUN - IDN - IMN - IND - IOT - IRL - IRN - IRQ - ISL - ISR - ITA - JAM - JEY - JOR - JPN - KAZ - KEN - KGZ - KHM - KIR - KNA - KOR - KWT - LAO - LBN - LBR - LBY - LCA - LIE - LKA - LSO - LTU - LUX - LVA - MAC - MAF - MAR - MCO - MDA - MDG - MDV - MEX - MHL - MKD - MLI - MLT - MMR - MNE - MNG - MNP - MRT - MSR - MTQ - MUS - MWI - MYS - MYT - NAM - NCL - NER - NFK - NGA - NIC - NIU - NLD - NOR - NPL - NRU - NZL - OMN - PAK - PAN - PCN - PER - PHL - PLW - PNG - POL - PRI - PRK - PRT - PRY - PSE - PYF - QAT - REU - ROU - RUS - RWA - SAU - SDN - SEN - SGP - SGS - SHN - SJM - SLB - SLE - SLV - SMR - SOM - SPM - SRB - SSD - STP - SUR - SVK - SVN - SWE - SWZ - SXM - SYC - SYR - TCA - TCD - TGO - THA - TJK - TKL - TKM - TLS - TON - TTO - TUN - TUR - TUV - TWN - TZA - UGA - UKR - UMI - URY - USA - UZB - VAT - VCT - VEN - VGB - VIR - VNM - VUT - WLF - WSM - XKX - YEM - ZAF - ZMB - ZWE description: The sender’s country. nullable: true Verification: type: object properties: id: type: string description: The ID of the `Verification` attempt (begins with `VIXXX`). created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' application: type: string description: ID of the `Application` the `Merchant` was created under. identity: type: string description: ID of the `Identity` that created the `Merchant`. nullable: true merchant: type: string description: ID of the `Merchant` resource. nullable: true merchant_identity: type: string description: ID of the `Identity` associated with the `Merchant`. nullable: true messages: type: array description: Provides additional details about the verification (e.g why it failed). This field is usually **null**. items: type: object payment_instrument: type: string description: The `Payment Instrument` that's used to settle the `Merchant's` processed funds. nullable: true payment_instrument_verification_details: type: object description: Details the verification results of `Payment Instruments`. properties: push_to_card_domestic: type: string description: Details if the `Payment Instrument` supports push and pull from card, domestically. For more details, see [Push to Card](/guides/push-pull/). enum: - FAST_FUNDS - NON_FAST_FUNDS - NOT_SUPPORTED - UNKNOWN push_to_card_cross_border: type: string description: Details if the `Payment Instrument` supports push and pull from card, cross-border. For more details, see [Push to Card](/guides/push-pull/). enum: - FAST_FUNDS - NON_FAST_FUNDS - NOT_SUPPORTED - UNKNOWN card_type: type: string description: The type of card. Same value as `Payment Instrument#type`. enum: - CREDIT - DEBIT - HSA_FSA - NON_RELOADABLE_PREPAID - RELOADABLE_PREPAID - UNKNOWN billing_currency: $ref: '#/components/schemas/Currency' issuer_country: $ref: '#/components/schemas/Country' processor: type: string description: Name of the verification processor. raw: $ref: '#/components/schemas/Raw' state: type: string description: The status of the `Verification` request. enum: - PENDING - SUCCEEDED - FAILED tags: $ref: '#/components/schemas/Tags' trace_id: type: string description: Trace ID of the `Verification`. The processor sends back the `trace_id` so you can track the verification end-to-end. _links: type: object description: For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs. properties: self: type: object description: Link to the resource that was used in the request. properties: href: type: string merchant: type: object description: Link to the `Merchant` that was used in the request. properties: href: type: string application: type: object description: Link to the `Application` that was used in the request. properties: href: type: string VerificationsList: type: object x-examples: example-1: _embedded: verifications: - id: VIukL5raxiXaa4LqhUwvGxA3 application: APgPDQrLD52TYvqazjHJJchM tags: {} messages: [] raw: RawDummyMerchantUnderwriteResult processor: DUMMY_V1 state: SUCCEEDED created_at: '2022-03-23T04:46:22.10Z' updated_at: '2022-03-23T04:47:01.79Z' trace_id: 2b727689-d48e-4b8a-9b86-5fc88ee519b0 payment_instrument: null merchant: MUucec6fHeaWo3VHYoSkUySM identity: null merchant_identity: null _links: self: href: https://finix.sandbox-payments-api.com/verifications/VIukL5raxiXaa4LqhUwvGxA3 application: href: https://finix.sandbox-payments-api.com/applications/APgPDQrLD52TYvqazjHJJchM merchant: href: https://finix.sandbox-payments-api.com/merchants/MUucec6fHeaWo3VHYoSkUySM - id: VIdikDHXv7x8nWyJg8JZemGx application: APgPDQrLD52TYvqazjHJJchM tags: key_2: value_2 messages: [] raw: RawDummyMerchantUnderwriteResult processor: DUMMY_V1 state: SUCCEEDED created_at: '2022-01-27T07:36:58.21Z' updated_at: '2022-01-27T07:36:58.46Z' trace_id: 86e00b16-8b94-44fb-bb0f-d5c32c887133 payment_instrument: null merchant: MUucec6fHeaWo3VHYoSkUySM identity: null merchant_identity: null _links: self: href: https://finix.sandbox-payments-api.com/verifications/VIdikDHXv7x8nWyJg8JZemGx application: href: https://finix.sandbox-payments-api.com/applications/APgPDQrLD52TYvqazjHJJchM merchant: href: https://finix.sandbox-payments-api.com/merchants/MUucec6fHeaWo3VHYoSkUySM _links: self: href: https://finix.sandbox-payments-api.com/merchants/MUucec6fHeaWo3VHYoSkUySM/verifications?offset=0&limit=20&sort=created_at,desc&sort=id,desc page: limit: 20 next_cursor: VIdikDHXv7x8nWyJg8JZemGx properties: _embedded: type: object description: List of `Verifications`. properties: verifications: type: array minItems: 0 uniqueItems: true description: '`Verification` resources.' items: $ref: '#/components/schemas/Verification' _links: $ref: '#/components/schemas/ListLinks' page: $ref: '#/components/schemas/PageCursor' Error404NotFoundList: type: object properties: total: type: integer _embedded: type: object properties: errors: type: array items: type: object additionalProperties: true properties: code: type: string enum: - NOT_FOUND logref: $ref: '#/components/schemas/LogRef' message: type: string _links: type: object properties: source: type: object properties: href: type: string ListLinks: title: ListLinks additionalProperties: true type: object description: For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs. properties: next: type: object description: Link to the next page of entries. properties: href: type: string self: type: object description: Link to the resource that was used in the request. properties: href: type: string LogRef: title: LogRef type: object properties: logref: type: string Error406NotAcceptable: type: object properties: total: type: integer _embedded: type: object properties: errors: type: array items: type: object additionalProperties: true properties: code: type: string enum: - NOT_FOUND logref: $ref: '#/components/schemas/LogRef' message: type: string _links: type: object properties: source: type: object properties: href: type: string title: '' Currency: type: string description: ISO 4217 3 letter currency code. enum: - AED - AFN - ALL - AMD - ANG - AOA - ARS - AUD - AWG - AZN - BAM - BBD - BDT - BGN - BHD - BIF - BMD - BND - BOB - BOV - BRL - BSD - BTN - BWP - BYR - BZD - CAD - CDF - CHE - CHF - CHW - CLF - CLP - CNY - COP - COU - CRC - CUC - CUP - CVE - CZK - DJF - DKK - DOP - DZD - EGP - ERN - ETB - EUR - FJD - FKP - GBP - GEL - GHS - GIP - GMD - GNF - GTQ - GYD - HKD - HNL - HRK - HTG - HUF - IDR - ILS - INR - IQD - IRR - ISK - JMD - JOD - JPY - KES - KGS - KHR - KMF - KPW - KRW - KWD - KYD - KZT - LAK - LBP - LKR - LRD - LSL - LTL - LYD - MAD - MDL - MGA - MKD - MMK - MNT - MOP - MRO - MUR - MVR - MWK - MXN - MXV - MYR - MZN - NAD - NGN - NIO - NOK - NPR - NZD - OMR - PAB - PEN - PGK - PHP - PKR - PLN - PYG - QAR - RON - RSD - RUB - RWF - SAR - SBD - SCR - SDG - SEK - SGD - SHP - SLL - SOS - SRD - SSP - STD - SVC - SYP - SZL - THB - TJS - TMT - TND - TOP - TRY - TTD - TWD - TZS - UAH - UGX - USD - USN - UYI - UYU - UZS - VEF - VND - VUV - WST - XAF - XAG - XAU - XBA - XBB - XBC - XBD - XCD - XDR - XOF - XPD - XPF - XPT - XSU - XTS - XUA - XXX - YER - ZAR - ZMW - ZWL Error401Unauthorized: type: object properties: total: type: integer _embedded: type: object properties: errors: type: array items: type: object additionalProperties: true properties: code: type: string enum: - UNKNOWN logref: $ref: '#/components/schemas/LogRef' message: type: string _links: type: object additionalProperties: true properties: self: type: object properties: href: type: string source: type: object properties: href: type: string CreatedAt: type: string title: CreatedAt format: date-time description: Timestamp of when the object was created. CreateVerificationRequest: type: object properties: merchant: type: string description: '- The ID of the `Merchant`. - Must be included when `verify_payment_card` is set to **true**.' processor: type: string enum: - DUMMY_V1 - MASTERCARD_V1 - VISA_V1 default: DUMMY_V1 description: 'Set the acquiring processor. Avalible values include: