Make a payment
Consumers can make payments on policies in the Consumer Service
Portal (Service Portal) using the following steps:
- Select Make a Payment.
- Enter payment details.
- Select a payment method. The Service Portal lists existing payment methods on file and the option to add a new payment method.
- Review payment details and click Make Payment.
- To get a list of existing payment sources, the portal calls the following API:
- The consumer selects a payment type and enters payment details.
- If the consumer enters details for a new credit card, see the Process to contact payment processor for new credit card account.
- The portal calls one of the following APIs to process the payment request:.
- To processes the payment on the current date, it calls the following API:
- To processes the payment on a scheduled date that is no more than 14 days in the future, it calls the followings API:
The body of the API request varies based on the payment method and payment details. The following examples provide guidance regarding the fields to include in the body of the request. However, the requirements and content might differ for your implementation.
- Credit Card example
- Credit card payment requests generally include the following fields:
- ACH payment example
- ACH payment requests generally include the following fields:
- Payment on file example
- Credit card and ACH payment request that use saved account information generally include the following fields:
Process to contact payment processor for new credit card account
Based on the payment processor, new credit card payments require some additional steps to obtain account details before the Service Portal can submit a payment request.
- Using Payment Service
- Before submitting a payment to a new credit card that uses the Payment Service, the
Service Portal completes the following steps:
- The Service Portal uses the Guidewire Payments API to display an iframe that gathers the credit card information from the consumer.
- The Guidewire Payments API returns an ID to the Service Portal. The Service Portal uses this ID as the customerPaymentProfileId.
- The Service portal generates the customerProfileId.