PaymentCode

A payment code is a short numeric code representing a payment to be completed when the code is presented to a cashier. A sender can have multiple payment codes at a time.

Warning

While apps should show the payment code to the person or business who sent it, apps MUST NOT reveal the payment code to the potential recipient.

Attributes

url
The web URL of this payment code. Only the sender is allowed to see it. Example: https://wingcash.com/t/987654321/code
transfer_id
String: the ID of the transfer connected with the payment code.
currency
String: an ISO 4217 currency (3 uppercase letters).
amount
String: the maximum amount of cash the payment code will release to the recipient. Example: 20.00.
created
String: the ISO 8601 date and time when the code was created.
modified
String: the ISO 8601 date and time when the code was last modified.
expires
String: the ISO 8601 date and time when the code will expire. At expiration, WingCash returns all cash reserved for the payment code to the sender.
sender_id
String: the ID of the profile who created the code.
recipient_id
String: the ID of the profile who can accept the code. Currently, recipients of payment codes are always businesses.
code
String: the payment code. Contains 4 or more digits. Only the sender should see this code.