SubscriptionsListResponse
pageinteger
Example:
1
per_pageinteger
Example:
100
last_pageinteger
Example:
10
totalinteger
Example:
950
first_page_urlstring
last_page_urlstring
next_page_urlstring
previous_page_urlstring
frominteger
Example:
1
tointeger
Example:
100
pathstring
items object[]
Array [
subscription object
iduuid
Example:
01929a94-5fce-7ccc-a7e4-7e9249133b39
paymentMethodIduuid
Example:
01924756-d1f6-738d-8040-90d76cedf01f
currencystring
Example:
DKK
customerIdstring
Example:
User159
pointOfSaleIduuid
Example:
0192473a-e381-705c-b61c-fc2ac9624afc
referencestring
Example:
reference-1
statestring
Example:
ACTIVE
typestring
Example:
PAYMENT
expiryDatedate-timenullable
Example:
2050-01-01
interval object
periodstring
Example:
MONTH
frequencyinteger
Example:
1
createdAtdate-time
paymentMethod object
iduuid
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6
typestring
Example:
CARD
subTypestringnullable
Example:
Visa
customerIdstringnullable
Example:
User159
expirydatenullable
Example:
2024-07-29
createdAtdate-time
Example:
2024-07-29T15:51:28.071Z
displayTextstring
Example:
40000000XXXX0003
]
SubscriptionsListResponse
{
"page": 1,
"per_page": 100,
"last_page": 10,
"total": 950,
"first_page_url": "string",
"last_page_url": "string",
"next_page_url": "string",
"previous_page_url": "string",
"from": 1,
"to": 100,
"path": "string",
"items": [
{
"subscription": {
"id": "01929a94-5fce-7ccc-a7e4-7e9249133b39",
"paymentMethodId": "01924756-d1f6-738d-8040-90d76cedf01f",
"currency": "DKK",
"customerId": "User159",
"pointOfSaleId": "0192473a-e381-705c-b61c-fc2ac9624afc",
"reference": "reference-1",
"state": "ACTIVE",
"type": "PAYMENT",
"expiryDate": "2050-01-01",
"interval": {
"period": "MONTH",
"frequency": 1
},
"createdAt": "2024-07-29T15:51:28.071Z"
},
"paymentMethod": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "CARD",
"subType": "Visa",
"customerId": "User159",
"expiry": "2024-07-29",
"createdAt": "2024-07-29T15:51:28.071Z",
"displayText": "40000000XXXX0003"
}
}
]
}