Skip to main content

Create a payment for an order

POST 

/api/v1/payments

Create a payment for an order

Request

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

Schema

    any

Loading...