API class
Javascript
P S P Integration
Widgets | Plugins
Use Cases | Tutorials
kasssh API POST structure

/payment/vcn

Generates a Virtual Card Number (VCN) with a pre-payment sum of the amount of the promise to pay or optionally with the amount specificied.
If the promise already has a VCN then the amount specified will be added to the VCN balance.
JSON Return Object
if reply.success is true then data: { 'id': kasssh-id, 'issued_vcn': long-card-number, 'expiry_month': xx, 'expiry_year': xxxx, 'cvv': xxx, 'credit': amount in pence/cents }
 
Data Options (** means required )
token **
`Promise to pay` token
TEXT
amount **
amount in pence/cents
INTEGER
 
POST ( https://api.kasssh.com/api )