Translations for Payments
The following entities are translatable for payments:
- Display Name as
display_name - Payment Instruction as
payment_instruction
Translations appear in the following storefront views:
- Checkout page (payment methods listing)
- Order confirmation page
- Order email
- My Account page (payment methods and orders)
Resource fields
For payment method related translation entries, the resourceId follows this structure:
bc/store/paymentMethod/{payment_method_id}.{currency}
A single resourceId corresponds to all payment profiles that share the same payment method ID and currency. As a result:
- Translations apply at the payment method + currency level.
- If a provider has multiple profiles (e.g., multiple gateway configurations) using the same payment method ID and same currency, they share the same translation resource.
- Updating the translation updates the display for every profile in that set.
Example
In this example, the payment method is authorizenet.credit_card and the currency is USD. The translation will be applied to all payment profiles that use the same payment method ID and currency.
"resourceId": "bc/store/paymentMethod/authorizenet.credit_card.USD"
Querying Payment Method Translations
This query retrieves all payment method translations for a specific channel and locale, including the original and translated values for display names and payment instructions.
Request
Response
Querying Payment Method Translations by resourceId
When querying a translation by resourceId, you must provide the full resourceId in the format bc/store/paymentMethod/{payment_method_id}.{currency}.
This query returns a translation by resourceId.
Request
Response
Update a Payment Method Translation
This mutation updates the translated values for payment method display names and payment instructions for a specific payment method, channel, and locale.
Request
Response
Delete a Payment Method Translation
This mutation removes translated values for specified payment method fields, reverting them to the original values for a specific payment method, channel, and locale.