Get SEPA Direct Debit consent texts
curl --request GET \
--url https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents \
--header 'Accept-Language: <accept-language>' \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents"
headers = {
"Accept-Language": "<accept-language>",
"Authorization": "Basic <encoded-value>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Accept-Language': '<accept-language>', Authorization: 'Basic <encoded-value>'}
};
fetch('https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept-Language: <accept-language>",
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Accept-Language", "<accept-language>")
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents")
.header("Accept-Language", "<accept-language>")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept-Language"] = '<accept-language>'
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"consentId": "550e8400-e29b-41d4-a716-446655440000",
"language": "en",
"texts": [
{
"code": "sepa_refund_disclaimer",
"text": "This refund right is a standard SEPA protection and does not affect your obligation to repay your credit card bill. If you request a refund, your balance will still be due."
},
{
"code": "sepa_legal_text",
"text": "By authorising this mandate, you allow Bankaktiebolaget Nordiska (publ) to send instructions to your bank to debit your account in accordance with these instructions. You are entitled to a refund from your bank under the terms of your agreement. A refund must be claimed within 8 weeks from the date of debit."
}
],
"consents": [
{
"code": "direct_debit",
"label": "I authorise Bankaktiebolaget Nordiska (publ) to debit my account via SEPA Direct Debit."
},
{
"code": "pre_notification_waiver",
"label": "I agree that my monthly statement will serve as advance notice for each SEPA Direct Debit payment."
}
],
"creditorInformation": {
"companyName": "Bankaktiebolaget Nordiska (publ)",
"address": {
"streetLine1": "Kungsgatan 1",
"streetLine2": "Box 1234",
"city": "Stockholm",
"postalCode": "12345",
"country": "SE"
},
"creditorId": "SE07ZZZ5567606032"
}
}SEPA
Get SEPA Direct Debit consent texts
Get SEPA Direct Debit consent texts
GET
/
api
/
sepa-direct-debit
/
consents
Get SEPA Direct Debit consent texts
curl --request GET \
--url https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents \
--header 'Accept-Language: <accept-language>' \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents"
headers = {
"Accept-Language": "<accept-language>",
"Authorization": "Basic <encoded-value>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Accept-Language': '<accept-language>', Authorization: 'Basic <encoded-value>'}
};
fetch('https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept-Language: <accept-language>",
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Accept-Language", "<accept-language>")
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents")
.header("Accept-Language", "<accept-language>")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-card.test.public.rockerapi.dev/api/sepa-direct-debit/consents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept-Language"] = '<accept-language>'
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"consentId": "550e8400-e29b-41d4-a716-446655440000",
"language": "en",
"texts": [
{
"code": "sepa_refund_disclaimer",
"text": "This refund right is a standard SEPA protection and does not affect your obligation to repay your credit card bill. If you request a refund, your balance will still be due."
},
{
"code": "sepa_legal_text",
"text": "By authorising this mandate, you allow Bankaktiebolaget Nordiska (publ) to send instructions to your bank to debit your account in accordance with these instructions. You are entitled to a refund from your bank under the terms of your agreement. A refund must be claimed within 8 weeks from the date of debit."
}
],
"consents": [
{
"code": "direct_debit",
"label": "I authorise Bankaktiebolaget Nordiska (publ) to debit my account via SEPA Direct Debit."
},
{
"code": "pre_notification_waiver",
"label": "I agree that my monthly statement will serve as advance notice for each SEPA Direct Debit payment."
}
],
"creditorInformation": {
"companyName": "Bankaktiebolaget Nordiska (publ)",
"address": {
"streetLine1": "Kungsgatan 1",
"streetLine2": "Box 1234",
"city": "Stockholm",
"postalCode": "12345",
"country": "SE"
},
"creditorId": "SE07ZZZ5567606032"
}
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
Language preference
Available options:
de, en Response
ISO 639-1 language code (de, en)
Available options:
de, en Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I

