Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 736 Bytes

File metadata and controls

13 lines (9 loc) · 736 Bytes

SunshineConversationsClient.Buy

Properties

Name Type Description Notes
type String The type of action. [default to 'buy']
text String The button text.
amount Number The amount being charged. It needs to be specified in cents and is an integer (9.99$ -> 999).
currency String An ISO 4217 standard currency code in lowercase. Used for actions of type buy. [optional]
metadata Object Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. [optional]