Initiating a Payment Using a Payment Consent

To initiate a payment using a payment consent, call the Initiate Payment endpoint and include the consent_id in the provider_method_parameters.


Example: Autogiro / Bankgirot Payment Using a Payment Consent

{
  "amount": 10000,
  "currency": "SEK",
  "provider": "autogiro",
  "method": "bankgirot",
  "provider_method_parameters": {
    "consent_id": "{{consent_id}}"
  }
}

Example: Swish Recurring Payment Using a Payment Consent

{
  "amount": 5000,
  "currency": "SEK",
  "provider": "swish",
  "method": "recurring",
  "provider_method_parameters": {
    "consent_id": "{{consent_id}}",
    "message": "Monthly subscription fee"
  }
}