Skip to Content
Docs
Merchants

Retrieve payment method options

GET/merchants/current/payment_method_options

Retrieves the default payment method options of your account. These defaults apply to every payment unless the request overrides them.

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Returns

Returns the payment method options object.

cardobject

Card settings of your account. Besides the options you can update, the response also includes account settings managed by Pay.com.

Show 28 child attributesHide child attributes
accepted_card_brandsarray of strings

List of card brands to accept for this payment.

accepted_card_fundingarray of strings

List of card funding to accept for this payment.

accepted_card_jurisdictionsarray of strings

List of payment jurisdictions to accept for this payment.

accepted_card_categoriesarray of strings

List of card categories to accept for this payment.

accepted_card_countriesarray of strings

List of card countries to accept for this payment.

accepted_eci_valuesarray of strings

List of ECI values to accept for this payment.

enforce_customer_name_as_cardholder_nameboolean

Whether to enforce the customer name as the card holder name.

security_checksobject

Configuration for security checks to perform.

Show 3 child attributesHide child attributes
address_line1_checkboolean

Whether to perform AVS check for address line 1.

address_postal_code_checkboolean

Whether to perform AVS check for postal code.

cvv_checkboolean

Whether to perform CVV check.

request_sca_exemptionobject

Options for requesting SCA exemption.

Show 4 child attributesHide child attributes
sca_exemption_typestring

Type of SCA exemption. One of low_value, transaction_risk_analysis, or secure_corporate_process.

One of low_value, transaction_risk_analysis or secure_corporate_process.

soft_decline_loopboolean

Whether to enable soft decline loop.

soft_decline_loop_decline_codesarray of strings

List of decline codes for soft decline loop.

soft_decline_loop_positioningstring

Controls when the soft decline loop runs relative to the provider fallback sequence. One of at_nearest or after_fallbacks.

One of at_nearest or after_fallbacks.

cvv_whitelistobject

CVV whitelist configuration.

Show 2 child attributesHide child attributes
enabledboolean

Whether CVV whitelist is enabled.

durationstring

Duration for CVV whitelist.

request_threed_securestring

How to request 3D Secure authentication for this payment. One of automatic, challenge, exemption, or none.

One of automatic, challenge, exemption or none.

account_billing_updaterobject

Options for the account billing updater, which refreshes stored card details when the issuer reports a change.

Show 3 child attributesHide child attributes
enabledboolean

Whether the account billing updater is enabled.

retry_after_updateboolean

Whether to retry a declined payment after the card details are updated.

billing_updater_decline_codesarray of strings

Decline codes that trigger an account billing update.

motoboolean

Whether MOTO (mail order/telephone order) payments are enabled by default.

duplicate_card_checkboolean

Whether to perform a duplicate card check and block (same card on more than 1 customer).

network_tokenobject

Options for network tokens for this payment.

Show 2 child attributesHide child attributes
provisionobject

Options that indicate how to provision network tokens.

Show 2 child attributesHide child attributes
enabledboolean

Whether to provision a network token during the payment.

decline_on_failureboolean

Whether to fail the payment if network token provisioning fails.

authorizationobject

Options that indicate how to use network token for this payment.

Show 3 child attributesHide child attributes
enabledboolean

Whether to use a network token for payment authorization.

full_pan_fallbackboolean

Whether to retry with the full PAN if authorization with the network token fails.

fallback_decline_codesarray of strings

Pay.com decline codes that trigger the full PAN retry, for example, do_not_honour. If not set, the default decline codes of the processor are used.

fundingboolean

Whether this payment is an AFT (account funding transaction) payment.

Default: false

pinless_debitobject

Options for pinless debit.

Show 1 child attributeHide child attributes
enabledboolean

Whether pinless debit is enabled.

partial_approvalobject

Options for partial approval.

Show 7 child attributesHide child attributes
acceptboolean

Whether to accept partial approvals.

allow_top_upboolean

Whether to allow top-up for partial approvals.

percentage_thresholdinteger

Percentage threshold for partial approval.

amount_thresholdinteger or string

Amount threshold for partial approval.

require_full_amountboolean

Whether to require full amount.

approved_by_defaultboolean

Whether partial approval is approved by default.

productsarray of objects

List of predefined products for partial approval.

Show 5 child attributesHide child attributes
amountnumberRequired

Amount for the product.

titlestringRequired

Title of the product.

descriptionstring

Description of the product.

imagestring

Image URL for the product.

idstring

Product ID.

advanced_fraud_screeningobject

Payment fraud screening options.

Show 3 child attributesHide child attributes
thresholdsarray of objects

Risk score ranges and the outcome to apply to each. The ranges must include an allow range, cover every score from 0 to 100 with no gaps or overlaps (each start is the previous end + 1), and be ordered by severity: a range with a higher score cannot have a less severe outcome than a lower range. Otherwise the request returns 400.

Show 3 child attributesHide child attributes
startintegerRequired

Range beginning for risk control outcome.

endintegerRequired

Range ending for risk control outcome.

outcomestringRequired

Outcome.

One of three_ds_exemption, three_ds_not_required, allow, require_three_ds, three_ds_challenge or block.

enabledbooleanRequired

Whether advanced fraud screening is enabled for the payment.

learn_modeboolean

Whether advanced fraud screening runs in learn mode.

name_verificationobject

Options to configure the name verification process.

Show 4 child attributesHide child attributes
enabledboolean

Whether to perform name verification with ANI (Account Name Inquiry).

use_customer_nameboolean

Whether to use the customer name for verification with ANI.

accepted_resultsarray of strings

List of ANI results to accept. Each value is one of match, partial_match, no_match, not_performed, or not_supported.

accepted_results_by_fieldobject

ANI results to accept for each name field.

Show 4 child attributesHide child attributes
first_namearray of strings
last_namearray of strings
middle_namearray of strings
full_namearray of strings
dynamic_currency_conversionobject

Dynamic currency conversion settings of your account, if configured.

instant_refundboolean or object

Instant refund settings of your account, if configured.

request_aniboolean

Whether Account Name Inquiry (ANI) is requested by default.

use_customer_name_aniboolean

Whether the customer name is used for Account Name Inquiry by default.

accepted_ani_resultsarray of strings

Account Name Inquiry results that are accepted by default.

accepted_ani_results_breakdownobject

ANI results to accept for each name field when name verification with ANI is used.

Show 4 child attributesHide child attributes
first_namearray of strings
last_namearray of strings
middle_namearray of strings
full_namearray of strings
providersarray of anys

Processors configured for card payments on your account. Managed by Pay.com.

retry_providersarray of anys

Processors used for retries on your account. Managed by Pay.com.

us_bank_accountobject

Options for US bank account payments.

Show 4 child attributesHide child attributes
ach_typestring

ACH payment method.

One of next_day or same_day.

networkstring

Network.

One of rtp, ach or fednow.

ach_entrystring

ACH entity.

One of web, ccd, ppd or tel.

ach_fallbackboolean
paypalobject

Options for PayPal payments.

Show 1 child attributeHide child attributes
name_verificationboolean

Whether to perform customer name verification.

applepayobject

Options for Apple Pay payments.

Show 1 child attributeHide child attributes
collectionobject

Allow to enable/disable collection of specific details during a payment.

Show 5 child attributesHide child attributes
billing_addressobject

Data collection details.

Show 1 child attributeHide child attributes
enabledboolean

Whether to collect these details.

emailobject

Data collection details.

Show 1 child attributeHide child attributes
enabledboolean

Whether to collect these details.

nameobject

Data collection details.

Show 1 child attributeHide child attributes
enabledboolean

Whether to collect these details.

phone_numberobject

Data collection details.

Show 1 child attributeHide child attributes
enabledboolean

Whether to collect these details.

shipping_addressobject

Controls shipping details collection.

Show 2 child attributesHide child attributes
enabledboolean

Whether to collect shipping details.

include_phone_numberboolean

Whether to include a phone number in shipping details.

googlepayobject

Options for Google Pay payments.

Show 2 child attributesHide child attributes
collectionobject

Allow to enable/disable collection of specific details during a payment.

Show 5 child attributesHide child attributes
billing_addressobject

Data collection details.

Show 1 child attributeHide child attributes
enabledboolean

Whether to collect these details.

emailobject

Data collection details.

Show 1 child attributeHide child attributes
enabledboolean

Whether to collect these details.

nameobject

Data collection details.

Show 1 child attributeHide child attributes
enabledboolean

Whether to collect these details.

phone_numberobject

Data collection details.

Show 1 child attributeHide child attributes
enabledboolean

Whether to collect these details.

shipping_addressobject

Controls shipping details collection.

Show 3 child attributesHide child attributes
enabledboolean

Whether to collect shipping details.

include_phone_numberboolean

Whether to include a phone number in shipping details.

allowed_countriesarray of strings

List of countries to accept for this payment.

require_cryptogram_threed_secureboolean

Whether to require a 3D Secure cryptogram.

typesarray of strings

List of accepted payment method types.

disabled_payment_methods_typesarray of strings

List of disabled payment method types.

bank_accountobject

Options for bank account payments.

Show 1 child attributeHide child attributes
allowed_countriesarray of strings

List of countries to accept for this payment.

Show 6 more attributesShow fewer attributes
cashappobject

Default options for Cash App Pay payments, if configured.

recurringobject

Terms of the recurring mandate the customer approves when a payment method that needs one (Pix Automático, UPI AutoPay) is saved for future payments. Used only when the payment saves the method. Each provider maps the terms to its own; terms it cannot express decline the payment.

Show 6 child attributesHide child attributes
intervalstring

How often the merchant charges. sporadic: no fixed schedule.

One of day, week, month, year or sporadic.

interval_countinteger

Number of intervals between charges. Defaults to 1.

amountinteger

Amount in the smallest currency unit. Defaults to the amount of the payment that saves the method.

amount_typestring

Whether every charge is exactly amount or at most amount.

One of exact or maximum.

start_datestring

First day the mandate can be charged, YYYY-MM-DD.

end_datestring

Last day the mandate can be charged, YYYY-MM-DD. Open-ended or the provider maximum when omitted.

routing_methodologiesarray of strings

Routing methodologies configured for your account.

payout_method_optionsobject

Default options for payouts, including the payout method types enabled for your account.

Show 1 child attributeHide child attributes
typesarray of strings

Payout method types enabled for your account.

skrillobject

Verification feature configuration and matching rules.

Show 1 child attributeHide child attributes
verificationobject

Verification feature configuration.

Show 3 child attributesHide child attributes
enabledboolean

Whether the verification feature is enabled.

accepted_verification_level_valuesarray of strings

List of accepted verification levels.

require_match_for_customer_detailsobject

Field-level switches indicating which customer attributes must match between the submitted data and verified identity data in order to consider verification successful.

Show 6 child attributesHide child attributes
first_nameboolean

Whether to require an exact match on the customer's first name.

last_nameboolean

Whether to require an exact match on the customer's last name.

countryboolean

Whether to require an exact match on the customer's country/region.

postal_codeboolean

Whether to require an exact match on the customer's postal/ZIP code.

line1boolean

Whether to require an exact match on the first line of the street address.

dobboolean

Whether to require an exact match on the customer's date of birth.

netellerobject

Verification feature configuration and matching rules.

Show 1 child attributeHide child attributes
verificationobject

Verification feature configuration.

Show 3 child attributesHide child attributes
enabledboolean

Whether the verification feature is enabled.

accepted_verification_level_valuesarray of strings

List of accepted verification levels.

require_match_for_customer_detailsobject

Field-level switches indicating which customer attributes must match between the submitted data and verified identity data in order to consider verification successful.

Show 6 child attributesHide child attributes
first_nameboolean

Whether to require an exact match on the customer's first name.

last_nameboolean

Whether to require an exact match on the customer's last name.

countryboolean

Whether to require an exact match on the customer's country/region.

postal_codeboolean

Whether to require an exact match on the customer's postal/ZIP code.

line1boolean

Whether to require an exact match on the first line of the street address.

dobboolean

Whether to require an exact match on the customer's date of birth.

Errors

400
Invalid request parameters.
401
The API key or access token is missing, unknown or no longer works (invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).
403
The request was refused: the API key may not make it (for example resource_not_allowed, key_disabled, network_not_allowed, pci_required or merchant_required), or this resource isn't enabled for your account (permission_denied). code says why.
500
Internal server error.
503
Service unavailable. Retry after the number of seconds in Retry-After, or after a few seconds when there's none.
Was this page helpful?