Insert excerpt |
---|
| Consent Management APIs for Berlin |
---|
| Consent Management APIs for Berlin |
---|
nopanel | true |
---|
|
...
Localtabgroup |
---|
Localtab |
---|
| Code Block |
---|
curl -X POST \
https://localhost:9446/consent/berlin130/payments/payments/sepa-credit-transfers \
-H 'Authorization: Basic YWRtaW5Ad3NvMi5jb206d3NvMjEyMw' -k \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'Date: Sun, 06 Aug 2017 15:02:37 GMT' \
-H 'PSU-GEO-Location: GEO:52.506931,13.144561' \
-H 'PSU-ID: someone@gold.com@carbon.super' \
-H 'PSU-ID-Type: email' \
-H 'PSU-IP-Address: 10.100.0.3' \
-H 'TPP-Redirect-Preferred: true' \
-H 'TPP-Unique-ID: PSDUK-NCA-1' \
-H 'X-Request-ID: 99991c7e-ad88-49ec-a2ad-96ddcb1f7747' \
-d '
[{
"instructedAmount": {"currency": "EUR", "amount": "123.50"},
"debtorAccount": {"iban": "DE40100100103307118608"},
"creditorName": "Merchant123",
"creditorAccount": {"iban": "DE02100100109307118603"},
"remittanceInformationUnstructured": "Ref Number Merchant"
}]' |
|
Localtab |
---|
| Code Block |
---|
{
"transactionStatus":"RCVD",
"paymentId":"bb8bd272-ea7e-4905-8a0e-99ade701c30a",
"transactionFees":{
"amount":"0"
},
"scaMethods":[
{
"authenticationType":"SMS_OTP",
"authenticationMethodId":"sms-otp",
"name":"sms-otp",
"explanation":"SMS based one time password"
}
],
"chosenScaMethod":{
"authenticationType":"SMS_OTP",
"authenticationMethodId":"sms-otp",
"name":"sms-otp",
"explanation":"SMS based one time password"
},
"_links":{
"scaStatus":{
"href":"/payments/sepa-credit-transfers/bb8bd272-ea7e-4905-8a0e-99ade701c30a/authorisations/a1de0573-2103-4e85-86a7-cfd1423ebb15"
},
"scaOAuth":{
"href":"https://localhost:8243/.well-known/openid-configuration"
},
"self":{
"href":"https://localhost:8243/xs2a/1.3.3/payments/sepa-credit-transfers/bb8bd272-ea7e-4905-8a0e-99ade701c30a"
},
"status":{
"href":"/payments/sepa-credit-transfers/bb8bd272-ea7e-4905-8a0e-99ade701c30a/status"
} } } |
| Localtab |
---|
| Code Block |
---|
{
"debtorAccount":{
"iban":"DE40100100103307118608" },
"instructedAmount":{
"currency":"EUR",
"amount":"123.50"
},
"creditorAccount":{
"iban":"DE02100100109307118603"
},
"creditorName":"Merchant123",
"remittanceInformationUnstructured":"Ref Number Merchant",
"transactionStatus":"CANC"
} |
|
|
Retrieve payment consent resource
...
Retrieve Status of a payment consent resource
Reads the transaction status of the addressed consent resource.
GET /berlin130/payments/{payment-service}/{payment-product}/{paymentId}/status
...
Remove a consent resource
Deletes the consent resource with the given paymentId
.
DELETE /berlin130/payments/{payment-service}/{payment-product}/{paymentId}
...