rest API POST

11 views
Skip to first unread message

Maarten Mostert

unread,
Aug 6, 2015, 3:26:38 PM8/6/15
to Stripe API Discussion
Hi all,

I am building a Stripe API in VisualWorks Smalltalk and have a question about the REST API.

Is it correct to post a charge  with something like this ?


or should I enroll thing in a JSON contents like: 

{"source": "tok_16WRow2eZvKYlo2CBZuKlcp9", "description": "Example charge", "amount": 1000, "currency": "eur", "Idempotency-Key": "VP8yjnQ5jUhZSEDDddddfghjkrysHw"}

Best regards,

Maarten MOSTERT
Reply all
Reply to author
Forward
0 new messages