The user needs to be logged in to use this endpoint, click here to read more.
Produces a list with subscriptions related to users Connect customer. Response is based on subscriptions registered in ConnectID, i.e subscriptions received from Connect and stored in ConnectID. Only subscriptions marked as valid are returned.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "subscriptions": [
- {
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "paymentProviderId": 12,
- "productCode": "CO27409",
- "cardDetails": {
- "cardMaskedPan": "426827******4847",
- "expMonth": "12",
- "expYear": "29"
}, - "paymentType": "CARD",
- "paymentMethod": "Visa"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
Use the id from the response to complete the adding the subscription by redirecting the customer to loginServer/payment/nexi/subscription/add?clientId=…&returnUrl=….&errorUrl=…..&transactionId=12378954
. The system will redirect the customer to the proper third-party system for the change, and upon success will then redirect to the given returnUrl
. If an system error occurs, the given errorUrl
will be used instead.
In addition to return url will be returned the result of operation:
errorUrl
.{- "productCode": "CO27409"
}
{- "success": true,
- "transactionId": 12378954
}
The user needs to be logged in to use this endpoint, click here to read more.
This API can be used for removing subscriptions from a nexi paymentprovider
{- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "paymentProviderId": "12"
}
{- "success": true
}