Update platform configuration
Update platform configuration settings. Configure platform-wide card velocity limits through POST /card-velocity-limits without cardId. cardConfigs contains card presentation, authentication, risk, and merchant category settings. Set cardConfigs.allowedMccs and cardConfigs.blockedMccs to restrict new authorizations on this platform’s cards where Grid makes authorization decisions. Card restrictions and Lightspark’s controls also apply.
Set cardConfigs.pinTargetOrigin to the canonical HTTPS origin of your frontend before calling GET /cards/{id}/pin-entry-url. Omit the field to preserve its value or set it to null to clear it.
Set cardConfigs.realTimeAuthorization to enable real-time card authorization: Grid sends a CARD_AUTHORIZATION.REQUEST decision request to your webhookEndpoint for each card authorization.
Authorizations
Body
Update platform-level card settings. Fields omitted from the nested object are left unchanged. Set each limit within its documented range, or send null to clear it. Set pinTargetOrigin to configure the website that hosts PIN-entry iframes, or supply null to clear it. Omit this field at the top level to leave all card settings unchanged.
Merge-by-key upsert of platform fee configs. A cross-currency transaction
fee config is keyed by (feeType, sourceCurrency) and a rail fee config by
(feeType, rail, direction, originator). Setting variable and fixed fees
to 0 for an existing config deactivates it. Omit this field to leave fee
configs unchanged.
A fee charged for a cross-currency transaction. There can be at most one cross-currency transaction fee config for a given source currency. The fee will apply to all cross-currency transactions that originate in the source currency.
- Option 1
- Option 2
Response
Configuration updated successfully
Platform-collected fees that should be added on top of Grid-collected fees. Contains every currently-active fee config for the platform.
A fee charged for a cross-currency transaction. There can be at most one cross-currency transaction fee config for a given source currency. The fee will apply to all cross-currency transactions that originate in the source currency.
- Option 1
- Option 2