WalletFunding
Type: object
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
amount_micros | string | Required | Signed integer USD micros as a decimal string. pattern: ^-?[0-9]+$ |
hash | anyOf: string; null | Optional | — |
id | string | Required | Public wfd_… reference (not a UUID). pattern: ^wfd_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
kind | top_up, refund, refund_reversal, dispute, dispute_reversal, adjustment | Required | — |
object | Exactly wallet_funding | Required | — |
occurred_at | string (date-time) | Optional | — |
seq | anyOf: integer; null | Optional | — |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"amount_micros": {
"description": "Signed integer USD micros as a decimal string",
"pattern": "^-?[0-9]+$",
"type": "string"
},
"hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"description": "Public wfd_… reference (not a UUID)",
"pattern": "^wfd_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"kind": {
"enum": [
"top_up",
"refund",
"refund_reversal",
"dispute",
"dispute_reversal",
"adjustment"
],
"type": "string"
},
"object": {
"const": "wallet_funding"
},
"occurred_at": {
"format": "date-time",
"type": "string"
},
"seq": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"object",
"id",
"kind",
"amount_micros"
],
"type": "object"
}