POST
/
stage
/
payment
/
stripe
/
testv6-zJve01
Recieve Payment
curl --request POST \
  --url https://0lxyqs87b0.execute-api.us-east-2.amazonaws.com/stage/payment/stripe/testv6-zJve01 \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "currency": "<string>",
  "token": "<string>"
}'
{
  "statusCode": 200,
  "body" {
    "message": {
        "message": "Payment successful!",
        "charge_id": "ch_3NgZjnKG64TDGlcq1zwBFPmC"
    }
}
}

Path

amount
number
required
The amount of the transaction
currency
string
required
The currency that the amount is being paid in
token
string
required
The visa token containing private infromation regarding the transaction

Body

Response

statusCode
number
Based off of standard HTTP request guidelines
body
object
Information concerning details about the stripe transaction
{
  "statusCode": 200,
  "body" {
    "message": {
        "message": "Payment successful!",
        "charge_id": "ch_3NgZjnKG64TDGlcq1zwBFPmC"
    }
}
}