Get payments on specific application
GET/financing/v1/applications/:applicationId/payments
Get payments on specific application
List of realized payments from Skip Pay to partner. In case of multiple invoices, list may contain more items.
feature | supported by resource |
---|---|
pagingheader-paging | yes |
sortingheader-sorting | no |
filteringheader-filtering | no |
This resource supports paging. As a value to before
and after
parameters, use paymentId
attribute.
Collection is sorted by paymentId attribute.
Request
Path Parameters
applicationId
Responses
- 200
- 404
List of payments. May be empty if no payment was processed yet.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
required
unique payment identifier
Payment date
Application ID that this payment belongs to
invoice
object
Billing information, to be included in invoice.
Customer full name, including academical degrees and salutation (Mr./Mrs./..). Empty if requested via customerDueDateCategory.
address
object
Address
Possible values: <= 100 characters
Name on address
Country. (see ISO 3166 alpha-2)
Possible values: <= 100 characters
City
Possible values: <= 100 characters
Street/city part
Possible values: <= 100 characters
Street number
Possible values: <= 30 characters
Postal code
Possible values: [PERMANENT
, CONTACT
, DELIVERY
, BILLING
]
Type of the address. Only some of the types are allowed in each context.
Invoice due date.
accountNumber
object
required
Account number with bank code.
Account number (IBAN, BIC, etc.).
Bank code (SWIFT, etc.).
pagingInfo
object
Number of items per page
Request to retrieve next page, if it exists and can be unambiguously specified
Request to retrieve previous page, if it exists and can be unambiguously specified
{
"data": [
{
"paymentId": "1a12",
"date": "2017-05-20",
"applicationId": "11200a0ee1",
"value": {
"amount": 12590,
"currency": "CZK"
},
"invoice": {
"fullName": "Ing. Jan Novák, Csc.",
"address": {
"name": "John Doe",
"country": "CZ",
"city": "Prague",
"streetAddress": "Letenská",
"streetNumber": "22",
"zip": "140 00",
"addressType": "PERMANENT"
},
"dueDate": "2017-06-20",
"accountNumber": {
"accountNumber": "123-123456789",
"bankCode": "0100"
}
}
}
],
"pagingInfo": {
"itemsPerPage": 10,
"nextPage": "transactions?sort=category&limit=10&after=25",
"prevPage": "transactions?sort=category&limit=10&before=25"
}
}
Application does not exist
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
required
Array with errors
Unique internal error code
Human readable error description (non-localized)
Possible values: [ERROR
, WARN
, INFO
]
JSON path of request attribute that caused the error (if applicable)
Internal ticket ID, used for error backtracking
{
"errors": [
{
"code": "ERR_1000_SOME_ERROR_CODE",
"message": "Some error/validation message description",
"severity": "ERROR",
"attribute": "personalBirthNumber",
"ticketId": "UAT1:AMS:20160516-091658.450:45e4"
}
]
}