Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Mobile Invoice service has got recurring payment subscription endpoints that work for Vipps Recurring (Agreement) API.

...

  1. Create a recurring subscription request for a particular mobile number, and receive a URL via SMS. (Sending out SMSs is optional, response object also includes the URL needed.)

  2. Proceed with the URL. Open Vipps mobile app and accept the agreement.

  3. Vipps mobile app redirects the user back to Mobile Invoice upon accepting the agreement and Mobile Invoice starts scheduling the recurring payments.

  4. In order to cancel an agreement, create a cancel subscription request that requires an identifier which can be found in the query string parameters of the agreement URL. The agreement URL is the redirect URL when a user clicks Manage Agreement button on Vipps mobile app. It should belong to the merchant itself. 

...

Code Block
languagejson
{
"partnerId":"10295",
"msisdn":"+4712457890",
"currency":"NOK",
"orderNumber":"unique-order-number-12346",
"amount":"12.50",
"campaignAmount":"10", 
"paymentProvider":"Vipps",
"description":"Recurring payment subscription request",
"basis":"1",
"agreementUrl":"https://www.merchantwebsite.com",
"name":"The name of the product",
"sendSMS":"true",
"smsText":"Click to proceed",
"smsNotificationOriginator":"2119"
}

campaignAmountInitial charge amount. Upon the first charge, Vipps will be charging according to amount value

paymentProvider Vipps is the only one we support with this endpoint for now.

basis1 for WEEKLY, 2 for MONTHLY, 3 for YEARLY 

agreementUrlthe URL which Vipps mobile app redirects users when Manage Agreement button is clicked. An auto-generated query parameter named recurring will be appended to the provided value. For this example payload it would be something like https://www.merchantwebsite.com?recurring=635

sendSMSTRUE if you want to send SMS to the recipient, otherwise set to FALSE

...