Get payment settings
Returns how the account takes payments: card statement text, saved cards, currencies, duplicate and country checks, and refund and chargeback reasons. Settings are kept per mode: a test token works on the test settings, a live token on the live ones. Secret and trusted tokens may call it when their permissions include settings_payment. Limited tokens may not.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
show?stringComma-separated fields to return; all others are left out. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.
hide?stringComma-separated fields to leave out of the response. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.
formatted?booleanWhen true, the object also has a formatted child with amounts and dates as display text in the shopper's language and currency (for example $19.99 or November 7, 2026). The default is false. See Localized formatting.
falseThe payment settings.
application/json- response
How the account takes payments in the current mode: card statement text, saved cards, currencies, duplicate and country checks, and the reasons offered for refunds and chargebacks.
object?"settings_payment"The object type. Always settings_payment.
"settings_payment"url?stringThe URL of this object.
uriaccount_id?stringThe ID of the account the settings belong to.
test?booleanTrue for the test mode settings, false for live.
date_created?stringWhen the settings were created.
date-timedate_modified?stringWhen the settings were last changed.
date-timemerchant_descriptor_name?|The name on the customer's card statement. Card networks show up to 18 characters. null uses your company name.
length <= 18product_as_merchant_descriptor_name?booleanFor a cart payment, use the name of the first product as the statement name instead of merchant_descriptor_name.
merchant_descriptor_contact?|A phone number, web address or city on the card statement. Up to 11 characters.
length <= 11allow_save_cards?booleanWhether this account may save cards on customers for later one-time payments. Set by Comecero: a value you send is ignored.
save_cards_by_default?booleanSave the card on the customer when a payment does not say. Only changes when allow_save_cards is true.
ignore_bad_cvv?booleanLet a card payment succeed even when the CVV does not match.
ignore_bad_avs?booleanLet a card payment succeed even when the address check (AVS) does not match. Address checks are not enforced on the platform at present, so this has no effect today.
duplicate_payment_timeout?integerSeconds during which an exact repeat of a payment request is refused. From 0 to 600. 0 turns the check off (not recommended).
0 <= value <= 600default_payment_currency?stringThe currency (ISO 4217) used when a payment does not name one.
default_settlement_currency?stringThe currency (ISO 4217) payments settle in when no settlement rule matches.
currency_settlement_rules?array<>Which currency each payment currency settles in.
customer_required_fields?array<>Customer fields a shopper must fill in at checkout.
customer_optional_fields?array<>Customer fields offered at checkout but not required. A field cannot be in both lists.
refund_reasons?array<string>The reasons offered when someone issues a refund.
chargeback_reasons?array<string>The reasons offered when someone records a chargeback.
blocked_countries?array<string>Two-letter ISO country codes payments are refused from. Up to 50.
items <= 50max_gateway_attempts?|When a card is declined and more than one gateway can take it, how many gateways to try in total. null means no limit: every gateway that can take the payment is tried. New accounts start at 2.
1 <= valueformatted?Display text for the dates. Returned only when formatted=true.
curl -X GET 'https://api.comecero.com/api/v1/settings/payment'{ "object": "settings_payment", "url": "https://api.comecero.com/api/v1/settings/payment", "account_id": "AB1234", "test": true, "date_created": "2026-01-12T09:30:00Z", "date_modified": "2026-10-02T14:21:07Z", "merchant_descriptor_name": "EXAMPLE STORE", "product_as_merchant_descriptor_name": true, "merchant_descriptor_contact": "8005551234", "allow_save_cards": true, "save_cards_by_default": false, "ignore_bad_cvv": true, "ignore_bad_avs": true, "duplicate_payment_timeout": 120, "default_payment_currency": "USD", "default_settlement_currency": "USD", "currency_settlement_rules": [], "customer_required_fields": [ "name", "email", "country" ], "customer_optional_fields": [ "phone" ], "refund_reasons": [ "Customer request", "Duplicate order" ], "chargeback_reasons": [ "Fraudulent Charge", "Merchandise Not Received", "Other" ], "blocked_countries": [], "max_gateway_attempts": 2}Update general settings POST
Changes the general settings. Send only the fields you want to change. A new notification from address is sent a verification email. Reporting currencies cannot change once the account has a payment in this mode. Settings are kept per mode: a test token works on the test settings, a live token on the live ones. Secret and trusted tokens may call it when their permissions include `settings_general`. Limited tokens may not.
Update payment settings POST
Changes the payment settings. Send only the fields you want to change. `allow_save_cards` is set by Comecero and ignored if you send it. Settings are kept per mode: a test token works on the test settings, a live token on the live ones. Secret and trusted tokens may call it when their permissions include `settings_payment`. Limited tokens may not.