curl --request GET \
--url https://api.confiopagos.com/v1/stores/{store}/subscription-plans/subscriptions \
--header 'Authorization: Bearer <token>'{
"subscriptions": [
{
"name": "stores/01JNRRDZDPH40DB2YRW329BFXM/subscription-plans/01JNRVWWHH68E76V3TMFFT6GHJ/subscriptions/01JNRVWWHH68E76V3TMFFT6GHJ",
"status": "PENDING_ACCEPTANCE",
"buyer": {
"email": "buyer@example.com",
"phoneNumber": "+573215786325",
"firstName": "Santiago",
"lastName": "García"
},
"createTime": "2024-01-15T10:30:00Z",
"firstChargeAmountCents": 3000000,
"redirectUri": "https://example.com/subscription-status",
"acceptanceUrl": "https://checkout.confiopagos.com/s/abc123token",
"acceptanceTokenExpiresAt": "2024-01-22T10:30:00Z",
"currentPeriodStart": "2024-01-15T10:30:00Z",
"currentPeriodEnd": "2024-02-15T10:30:00Z",
"nextBillingTime": "2024-02-15T10:30:00Z"
}
],
"nextPageToken": "<string>"
}List all subscriptions for a store
curl --request GET \
--url https://api.confiopagos.com/v1/stores/{store}/subscription-plans/subscriptions \
--header 'Authorization: Bearer <token>'{
"subscriptions": [
{
"name": "stores/01JNRRDZDPH40DB2YRW329BFXM/subscription-plans/01JNRVWWHH68E76V3TMFFT6GHJ/subscriptions/01JNRVWWHH68E76V3TMFFT6GHJ",
"status": "PENDING_ACCEPTANCE",
"buyer": {
"email": "buyer@example.com",
"phoneNumber": "+573215786325",
"firstName": "Santiago",
"lastName": "García"
},
"createTime": "2024-01-15T10:30:00Z",
"firstChargeAmountCents": 3000000,
"redirectUri": "https://example.com/subscription-status",
"acceptanceUrl": "https://checkout.confiopagos.com/s/abc123token",
"acceptanceTokenExpiresAt": "2024-01-22T10:30:00Z",
"currentPeriodStart": "2024-01-15T10:30:00Z",
"currentPeriodEnd": "2024-02-15T10:30:00Z",
"nextBillingTime": "2024-02-15T10:30:00Z"
}
],
"nextPageToken": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"01G65Z755AFWAKHE12NY0CQ9FH"
The maximum number of items to return. Default is 50, max is 1000.
"20"
A page token received from a previous call for pagination.