dLocal · Schema

dLocal Refund

PaymentsPayoutsEmergingMarketsLatAmAfricaAsiaFXFintech

Properties

Name Type Description
id string
payment_id string
status string
status_code integer
status_detail string
amount number
currency string
created_date string
View JSON Schema on GitHub

JSON Schema

refunds-refund-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/d-local/main/json-schema/refunds-refund-schema.json",
  "title": "dLocal Refund",
  "type": "object",
  "required": ["id", "payment_id", "status", "amount", "currency"],
  "properties": {
    "id": {"type": "string"},
    "payment_id": {"type": "string"},
    "status": {"type": "string", "enum": ["SUCCESS", "PENDING", "REJECTED"]},
    "status_code": {"type": "integer"},
    "status_detail": {"type": "string"},
    "amount": {"type": "number"},
    "currency": {"type": "string", "pattern": "^[A-Z]{3}$"},
    "created_date": {"type": "string", "format": "date-time"}
  }
}