| Data Members | Data Type | Description |
|---|---|---|
account | string | The full account number. |
accountHash | string | A hash of the full account number. Any non-numeric characters should be removed prior to hashing. If the account number is provided, this may be left blank and the hash will be calculated by Subscribe. The exact length and format of this string may depend upon the hash algorithm chosen. |
accountLength | string | Length of the total account number. If the full account number is submitted, this field may be left blank, and Subscribe will calculate it. |
amount | decimal | The amount paid by a customer. This value must be 0 for PaymentMethods attached to AutoBills. Note: MerchantAcceptedPayment PaymentMethods may be attached to AutoBills to indicate that the customer should be invoiced (rather than automatically charged). |
currency | string | The ISO 4217 currency code for the payment. Currency or token must be specified, and must match the currency for charges contained in the invoice/AutoBill. |
hashType | HashType | The algorithm used to hash the account number. If this value is not provided, Subscribe will use assume SHA1. |
lastDigits | string | The last part of the account number for display purposes, generally the last four digits. If the account field is provided, this may be left blank and will be filled in by Subscribe. |
note | string | An optional memo regarding the payment made. |
paymentId | string | The ID of the payment accepted by the merchant. |
paymentType | string | The type of payment accepted by the merchant. |
timestamp | dateTime | The time that payment occurred. |
token | Token | The Token associated with the amount (if this is a Token-based AutoBill). See Token Data Members. |
| Parent topic:PaymentMethod Subobjects |
MerchantAcceptedPayment Subobject
Lists details for a payment entered manually by a merchant.

