Create a payment for an order
POST/api/v1/payments
Create a payment for an order
Request
- application/vnd.api+json
Body
required
data
object
type stringrequired
Possible values: [payments
]
attributes
object
stripe_token string
Stripe reusable Source/PaymentMethod token
stripe_payment_method_id string
Stripe PaymentMethod ID which was saved before along with Card record
relationships
object
order
object
data
object
type stringrequired
Possible values: [order
]
id stringrequired
Related Order ID
Responses
- 204
- application/vnd.api+json
- Schema
Schema
any
Loading...