The user needs to be logged in to use this endpoint, click here to read more.
Payment API for get existing pay method, see possible pay method and changing pay method.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "paymentMethodResponseItems": [
- {
- "paymentMethod": "recurringPayment",
- "isActive": "Y"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
Use the id from the response to complete the payment by redirecting the customer to 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.
In addition to return url will be returned the result of operation:
errorUrl
.{- "invoiceNumber": "7435367",
- "productCode": "CO27409",
- "companyCode": "68979834",
- "paymentMethod": "creditcardPayex"
}
{- "success": true,
- "transactionId": 12378954
}
The user needs to be logged in to use this endpoint, click here to read more.
Use the id from the response to complete the change by redirecting the customer to /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.
In addition to return url will be returned the result of operation:
errorUrl
.{- "paymentMethod": "recurringPayExCardPayment"
}
{- "paymentChangeId": 12378954
}