dLocal · Schema

dLocal Payment

A payment transaction processed through dLocal's emerging markets payment platform.

PaymentsEmerging MarketsPay-InPayoutsFintechLatin AmericaAfricaAsiaLocal Payment MethodsPayment Processing

Properties

Name Type Description
id string dLocal payment identifier
amount number Payment amount
currency string ISO 4217 currency code
payment_method_id string Payment method identifier
payment_method_flow string Payment flow type
country string ISO 3166-1 alpha-2 country code
order_id string Merchant's unique order identifier
description string
status string Current payment status
status_code string
status_detail string
created_date string
approved_date string
redirect_url string
payer object
card object
View JSON Schema on GitHub

JSON Schema

payment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dlocal/main/json-schema/payment.json",
  "title": "dLocal Payment",
  "description": "A payment transaction processed through dLocal's emerging markets payment platform.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "dLocal payment identifier",
      "example": "PAY_GWLP5LSWQP9AXGBVPFZN"
    },
    "amount": {
      "type": "number",
      "description": "Payment amount",
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code",
      "pattern": "^[A-Z]{3}$"
    },
    "payment_method_id": {
      "type": "string",
      "description": "Payment method identifier"
    },
    "payment_method_flow": {
      "type": "string",
      "enum": ["DIRECT", "REDIRECT"],
      "description": "Payment flow type"
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code",
      "pattern": "^[A-Z]{2}$"
    },
    "order_id": {
      "type": "string",
      "description": "Merchant's unique order identifier"
    },
    "description": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": ["PENDING", "PAID", "REJECTED", "CANCELLED", "EXPIRED", "AUTHORIZED"],
      "description": "Current payment status"
    },
    "status_code": {
      "type": "string"
    },
    "status_detail": {
      "type": "string"
    },
    "created_date": {
      "type": "string",
      "format": "date-time"
    },
    "approved_date": {
      "type": "string",
      "format": "date-time"
    },
    "redirect_url": {
      "type": "string",
      "format": "uri"
    },
    "payer": {
      "$ref": "#/definitions/Payer"
    },
    "card": {
      "$ref": "#/definitions/CardOutput"
    }
  },
  "required": ["id", "amount", "currency", "country", "status", "created_date"],
  "definitions": {
    "Payer": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "email": { "type": "string", "format": "email" },
        "document": { "type": "string" },
        "document_type": { "type": "string" }
      },
      "required": ["name", "email"]
    },
    "CardOutput": {
      "type": "object",
      "properties": {
        "holder_name": { "type": "string" },
        "last4": { "type": "string", "pattern": "^[0-9]{4}$" },
        "brand": { "type": "string" },
        "expiration_month": { "type": "integer", "minimum": 1, "maximum": 12 },
        "expiration_year": { "type": "integer" },
        "card_id": { "type": "string" }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/payment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.