dLocal Verifications API

Create and inspect KYC verifications.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

d-local-verifications-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: dLocal Cards Accounts Verifications API
  version: '2.1'
  description: 'Securely store cards for repeat usage. Create returns a `card_id` token

    that can be used in subsequent Payments and Authorizations.

    '
servers:
- url: https://api.dlocal.com
  description: Production
- url: https://sandbox.dlocal.com
  description: Sandbox
security:
- dLocalSignature: []
tags:
- name: Verifications
  description: Create and inspect KYC verifications.
paths:
  /verifications:
    post:
      tags:
      - Verifications
      operationId: createVerification
      summary: Create A Verification
      description: Submit a KYC verification (remitter, beneficiary, or standalone).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerificationRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/VerificationRequest'
      responses:
        '200':
          description: Verification created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Verification'
        '400':
          description: Invalid request format
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  /verifications/{verification_id}:
    get:
      tags:
      - Verifications
      operationId: getVerification
      summary: Get A Verification
      parameters:
      - name: verification_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Verification returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Verification'
  /verifications/{verification_id}/state:
    patch:
      tags:
      - Verifications
      operationId: updateVerificationState
      summary: Update Verification State
      parameters:
      - name: verification_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                state:
                  type: string
      responses:
        '200':
          description: Verification state updated
components:
  schemas:
    Verification:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
        status:
          type: string
          enum:
          - PENDING
          - APPROVED
          - REJECTED
          - EXPIRED
        status_detail:
          type: string
        created_date:
          type: string
          format: date-time
        expiration_date:
          type: string
          format: date-time
        attributes:
          type: object
    VerificationRequest:
      type: object
      required:
      - type
      - notification_url
      - attributes
      properties:
        type:
          type: string
          enum:
          - REMITTANCE
          - STANDALONE
        notification_url:
          type: string
          format: uri
        attributes:
          type: object
          description: Client information attributes (name, document, country, etc.)
        flow:
          type: string
          enum:
          - remitter
          - beneficiary
          - standalone
  securitySchemes:
    dLocalSignature:
      type: apiKey
      in: header
      name: Authorization