Payments (created by travis via API)

Payments API

1.0.1OAS 3.0

Example Payments API used for testing Konnect Dev Portal V3

API Base URL
  • Server 1:https://api.example.com

List payments

get
https://api.example.com/payments

Response

200 application/json

A list of payments

dataarray[object]
Show Child Parameters
get/payments
 
200 application/json

Create a payment

post
https://api.example.com/payments

Body

application/json

NewPayment

amountnumber(float)required

Example:49.99

currencystringrequired

Example:USD

Response

201 application/json

Payment created

Payment

idstringrequired

Example:pay_12345

amountnumber(float)required

Example:49.99

currencystringrequired

Example:USD

statusstringrequired

Allowed values:pendingcompletedfailed

created_atstring(date-time)
post/payments

Body

{ "amount": 49.99, "currency": "USD" }
 
201 application/json