object-type: receipt

Attributes

object-id
See Common Attributes.
object-type
The string ‘receipt’.
creator-id
See Common Attributes.
bond-id
The object-id of the bond for which this payment occurred.
payee-id
The object-id of the organization to which the payment was paid.
payment-type
One of ‘Coupon’ or ‘Redemption’.
coupon-date

The date of the coupon. This is the date that it became due.

Format: MM/DD/YYYY

Required if payment-type is ‘Coupon’.

amount
The amount paid.
timestamp
The time that the receipt is created in relation to the current clock.

Example JSON

Coupon example:

{
    "object-id" : "OBJECT_ID",
    "object-type" : "receipt",
    "creator-id": "OBJECT_ID",
    "bond-id": "OBJECT_ID",
    "payee-id": "OBJECT_ID",
    "payment-type": "Coupon",
    "coupon-date": "10/03/2015",
    "amount": 100.00,
    "timestamp" : 1469045984.965841
}

Bond redemption example:

{
    "object-id" : "OBJECT_ID",
    "object-type" : "holding",
    "creator-id": "OBJECT_ID",
    "bond-id": "OBJECT_ID",
    "payee-id": "OBJECT_ID",
    "payment-type": "Redemption",
    "amount": 1000.00,
    "timestamp" : 1469045984.965841
}