Properties
| Name | Type | Description |
|---|---|---|
| id | string | Workday ID (WID) for the payment |
| paymentNumber | string | Payment reference number |
| payee | string | Payment recipient |
| paymentDate | string | Date of the payment |
| amount | number | Payment amount |
| currency | object | |
| paymentMethod | string | Method of payment |
| status | string | Payment status |
| bankAccount | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Payment",
"title": "Payment",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Workday ID (WID) for the payment"
},
"paymentNumber": {
"type": "string",
"description": "Payment reference number"
},
"payee": {
"type": "string",
"description": "Payment recipient"
},
"paymentDate": {
"type": "string",
"format": "date",
"description": "Date of the payment"
},
"amount": {
"type": "number",
"format": "double",
"description": "Payment amount"
},
"currency": {
"$ref": "#/components/schemas/CurrencyRef"
},
"paymentMethod": {
"type": "string",
"enum": [
"Check",
"ACH",
"Wire",
"EFT"
],
"description": "Method of payment"
},
"status": {
"type": "string",
"enum": [
"Pending",
"Approved",
"Processed",
"Canceled"
],
"description": "Payment status"
},
"bankAccount": {
"$ref": "#/components/schemas/BankAccountRef"
}
}
}