Payments (created by travis via API)

Get payment by ID

get
https://api.example.com/payments/{paymentId}

Path Parameters

paymentIdstringrequired

Response

application/json

Payment details

Payment

idstringrequired

Example:pay_12345

amountnumber(float)required

Example:49.99

currencystringrequired

Example:USD

statusstringrequired

Allowed values:pendingcompletedfailed

created_atstring(date-time)
get/payments/{paymentId}
 
application/json

Payment

object
idstringrequired

Example:pay_12345

amountnumber(float)required

Example:49.99

currencystringrequired

Example:USD

statusstringrequired

Allowed values:pendingcompletedfailed

created_atstring(date-time)
Example

NewPayment

object
amountnumber(float)required

Example:49.99

currencystringrequired

Example:USD

Example

Error

object
messagestring

Example:Resource not found

Example