Recurring
POST api/recurring/subscribe
Creates a new subscription per Msisdn
Request information (from body) |
---|
Response information |
---|
GET api/recurring/process/{partnerId}/{internalId}
When user opens the url returned from subscription to process and will be retidecter to the Pay url (Payment provider page)
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId. Provided to you by LINK Mobility. | int | 10295 |
internalId | required | Internal Id | string | “random-string” |
Response information |
---|
GET api/recurring/return/{partnerId}/{transactionId}
Return after Vipps payment is done by the client, but this payment is not completed yet in Vipps
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId. Provided to you by LINK Mobility. | int | 10295 |
transactionId | required | Transaction Id | GUID | “random-string” |
Response information |
---|
GET api/recurring/subscriptions/{partnerId}/{paymentTypeId}/{from}
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId. Provided to you by LINK Mobility. | int | 10295 |
paymentTypeId | required | Payment provider id | int | 5 |
from | required |
| date |
|
Response information |
---|
DELETE api/recurring/cancel/{id}
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
id | required | subscriptionId or memberId | int | 10295 |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK |
|
400 | Bad Request | Invalid subscription identifier Subscription with status: “chargeStatus” for “id” cannot be cancelled |
404 | Not Found | Recurring not found |
Feeling lost? Click on this link! Portal page