Thanks, Stripe is a good credit card processor and I am sure it would be of great help to the community.
First I took the above advice and named the service stripe
Then I used the Stripe URL. And the I added a Basic Auth parameter (note I did not user a VERB here)
Then
Then I did this...note how one can no longer edit params. ..one has to go to the JSON.
Stripe give several code examples with test keys here https://stripe.com/docs/api/curl#create_charge
And finally here is the jason that is supposed to do what the stripe docs say. Note the Rotten Tomatos example in the DF blogs uses query not body I but I tried both to no avail. The "source" is a code that is also found in its test form on the Stripe link above but it is effectively a customer number.
{
"resourcePath": "/stripe",
"produces": [
"application/json"
],
"consumes": [
"application/json"
],
"apis": [
{
"path": "/stripe/charges",
"description": "Make a Charge",
"operations": [
{
"nickname": "Create A Charge",
"method": "POST",
"summary": "Create A Charge",
"notes": "Create A Charge",
"event_name": "Create A Charge",
"parameters": [
{
"name": "description",
"description": "Description",
"type": "string",
"paramType": "body"
},
{
"name": "source",
"description": "Source",
"type": "string",
"paramType": "body"
},
{
"name": "currency",
"description": "Currency",
"type": "string",
"paramType": "body",
"required": true
},
{
"name": "amount",
"description": "Amount in cents",
"type": "integer",
"format": "int32",
"paramType": "body",
"required": true
}
]
}
]
}
],
"models": {},
"authorizations": {}
}