What are redirects?

  • User-redirect: You set this redirect for each agreement you create. It can't be changed afterwards. 
  • Succes-callback: You set this redirect for each agreement you create. It can be changed afterwards. 
  • Cancel-callback: You set this redirect for each agreement you create. It can be changed afterwards. 
  • payment_status_callback_url: You set this for each provider, and you can change it whenever. You can change it on the fly. 

As an integrator, you should set the "payment_status_callback_url" for each subscriptions provider, and then MobilePay uses it, when there are updates on payments. 

An example of body that you should use (just with your own values)

[

  {

    "value": "http://example.com",

    "path": "/payment_status_callback_url",

    "op": "replace",

    "from": "http://example.com"

  }

It is a PATCH method

Those do not need to be whitelisted at MobilePay.