{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://developers.stellar.org/schemas/horizon/Payment.json", "title": "Payment", "type": "object", "properties": { "_embedded": { "type": "object", "properties": { "records": { "type": "array", "items": { "type": "object", "properties": { "_links": { "type": "object", "properties": { "self": { "$ref": "#/components/schemas/link" }, "transaction": { "$ref": "#/components/schemas/link" }, "effects": { "$ref": "#/components/schemas/link" }, "succeeds": { "$ref": "#/components/schemas/link" }, "precedes": { "$ref": "#/components/schemas/link" } }, "required": [ "self", "transaction", "effects", "succeeds", "precedes" ] }, "id": { "$ref": "#/components/schemas/id" }, "paging_token": { "type": "string" }, "transaction_successful": { "type": "boolean" }, "source_account": { "$ref": "#/components/schemas/address" }, "type": { "type": "string", "example": "payment" }, "type_i": { "type": "string" }, "created_at": { "type": "string" }, "transaction_hash": { "type": "string" }, "asset_type": { "type": "string" }, "asset_code": { "enum": [ "native", "credit_alphanum4", "credit_alphanum12" ] }, "asset_issuer": { "$ref": "#/components/schemas/address" }, "from": { "$ref": "#/components/schemas/address" }, "to": { "$ref": "#/components/schemas/address" }, "amount": { "type": "string" } }, "required": [ "id", "paging_token", "transaction_successful", "source_account", "type", "type_i", "created_at", "transaction_hash", "asset_type", "from", "to", "amount" ] } } } } } }