Available in🇮🇳 India
cod is a payment method with two instruments. COD needs no onboarding with a provider. Enabling an instrument makes it activated and enabled at once.
5.1 Fetch COD
Curl
cod payment method, with both instruments.
Response
5.2 Enable or Disable COD
Switch each instrument with its own call:Curl
Handy Tips
- COD settings and rules have their own APIs,
/v3/accounts/{account_id}/cod_settingsand/v3/accounts/{account_id}/cod_rules. This API only switches the two instruments on or off. - The
payment_methods.codconfiguration in the Onboarding APIs holds oneenabledswitch for the whole store. COD has no capability there.