loginServer/payment/invoice/pay?clientId=…&returnUrl=…&errorUrl=…&transactionId=12378954
. The system will redirect the customer to the proper third-party system for the payment, and upon success will then redirect to the given returnUrl
. If an system error occurs, the given errorUrl
will be used instead.errorUrl
.curl --location --request POST 'https://api.mediaconnect.no/capi/v1/api/payment/invoice' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoiceNumber": "7435367",
"productCode": "CO27409",
"companyCode": "68979834",
"paymentMethod": "creditcardPayex"
}'
{
"success": true,
"transactionId": 12378954
}