Add PayEx token
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
POST
/v1/api/payment/payex/token
PayEx
loginServer/payment/payex/token/add?clientId=…&returnUrl=….&errorUrl=…..&transactionId=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 system 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/api/payment/payex/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"tokenType": "card",
"productCode": "CO27409"
}'
Response Response Example
200 - Success
{
"success": true,
"transactionId": 12378954
}
Request
Body Params application/json