Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.54 KB

cash-payment-details.md

File metadata and controls

32 lines (23 loc) · 1.54 KB

Cash Payment Details

Stores details about a cash payment. Contains only non-confidential information. For more information, see Take Cash Payments.

Structure

Cash Payment Details

Fields

Name Type Tags Description
buyer_supplied_money Money Required Represents an amount of money. Money fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
Working with Monetary Amounts
for more information.
change_back_money Money Optional Represents an amount of money. Money fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
Working with Monetary Amounts
for more information.

Example (as JSON)

{
  "buyer_supplied_money": {
    "amount": 114,
    "currency": "ZMK"
  },
  "change_back_money": {
    "amount": 78,
    "currency": "DJF"
  }
}