Saltar para o conteúdo

List subscription payments

Pedido

Full report with all the subscriptions payments from your Account Id

Required scope: subscription:read

Segurança
accountId and apiKey
Consulta
pagenumber

Page Number

records_per_pagenumber

Limit records per page (Max: 100)

Padrão:20
expiration_timestring

Filter by expiration time interval (max 30 days)

methodstring

Filter by method

customerstring

Filter by customer key

idstring

Filter by id

keystring

Filter by subscription key

created_atstring

Filter by created datetime interval (max 30 days)

statusstring

Filter by Subscription Status

Exemplo:status=active
valuestring

Filter by Subscription Value

Exemplo:value=10.55
curl -i -X GET \
  'https://api.test.easypay.pt/2.0/subscription?page=0&records_per_page=20&expiration_time=string&method=string&customer=string&id=string&key=string&created_at=string&status=active&value=10.55' \
  -H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
  -H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92'

Respostas

OK

Corpoapplication/json
dataArray of objects(subscription-response-on-list)
metaobject(Meta)

Metadata object containing pagination and result information for list responses.

Response
Success
{ "data": [ {} ], "meta": { "page": {}, "records": {}, "links": {} } }