Payments

This Endpoint creates a payment in the system that is related to a cart and a payment method. If your payment method has stored credentials, you can also pass stored credentials to the create end point and it will process your cart using those stored credentials.

Fields

End Points

List

GET /api/payments/

List all pending payments asscociated with a user. Guests will not see a list.

Retreive

GET /api/payments/:key/

Get a specific payment.

Create

POST /api/payments/

{
    "cart":"https://demo.itemextend.com/api/carts/15918/",
    "credentials":null,
    "method":"https://demo.itemextend.com/api/paymentmethods/1/"
}

create a new payment. The response will either be approved or will have an embed attribute that will be a url to pop up.