Change payment method
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
POST
/v1/product/payment/{productCode}
Payment
/paymentChange?clientId=…&returnUrl=….&errorUrl=…..&paymentChangeId=12378954
. The system will redirect the customer to the proper third-party system for the change, and upon success will then redirect to the given returnUrl
. If an error occurs, the given errorUrl
will be used instead.errorUrl
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mediaconnect.no/capi/v1/product/payment/' \
--header 'Content-Type: application/json' \
--data-raw '{
"paymentMethod": "recurringPayExCardPayment"
}'
Response Response Example
200 - Success
{
"paymentChangeId": 12378954
}
Request
Path Params
productCode
string
required
>= 1 characters<= 12 characters
Body Params application/json