This endpoint is only available to partners who have been granted the “customer-identified” authority, which means that the partner is responsible for identifying their customers.
Retrieves a list of payment methods that are personalized for a specific customer based on their governmentId and purchase amount. The payment methods returned may be restricted or require credit application based on the customer’s existing account balance and limits. This method is only applicable to government id that is of a natural type.
The customer is identified either by a government id or a customer session id that is used to fetch the government id from the customer session service. Only one of these values should be included in the request.
The disabled field indicates whether this payment method is currently disabled for the customer. For example, if the customer has an account but does not have enough limit to make the purchase and a limit increase is not possible, or if the customer has an account but is not allowed to use the account.
The applicationRequired field indicates if a credit application is necessary for the customer to continue utilizing this payment method. For instance, if the customer does not have an associated account, or if the customer requires an increase in their credit limit when they already have an active account.
The account field indicates whether the customer has an active and available account for the payment method. This value will only be present for payment methods that can have an associated account, such as RESURS_REVOLVING_CREDIT, RESURS_CARD and RESURS_PART_PAYMENT.
RESURS_REVOLVING_CREDIT and RESURS_CARD are revolving accounts that can be reused for multiple purchases.
RESURS_PART_PAYMENT is a one-time account that can only be used for a single purchase. Once a purchase has been made on the RESURS_PART_PAYMENT account, the hasAccount field will not be present.
The account.availableAmount field indicates the amount of credit that is available for the customer to use for their purchase. This value will only be present for payment methods that have a credit limit associated with the customer’s account, such as RESURS_REVOLVING_CREDIT, RESURS_CARD and RESURS_PART_PAYMENT.
The account.creditLimit field indicates the maximum amount of credit that is available to the customer for the associated payment method. This value will only be present for payment methods that have a credit limit associated with the customer’s account, such as RESURS_REVOLVING_CREDIT, RESURS_CARD and RESURS_PART_PAYMENT.
@accessController.hasAccessToPersonalized(#storeId, #request)
The access token received from the authorization server in the OAuth 2.0 flow.
The UUID of the store Unique identifier of the store
"123e4567-e89b-12d3-a456-426655440000"
Government-issued identification number of the customer, such as a national ID number or social security number. This should always be included when there is no customer session.
"197906023457"
A unique session id that is used to verify that the customer is identified and has access to the requested data. If this is included, governmentId should be omitted.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
The total cost of the purchase. If the customer already has an account associated with this payment method, and the amount is provided, it will be used to update the 'disabled' and 'applicationRequired' flags based on the account's available balance and limits.