Accounts
8 endpoints. Base URL https://api.paymentsonline.io, sandbox https://api.sandbox-paymentsonline.io.
Every request needs payments-api-key and payments-account.
/v1/accountsGet an Account
Retrieves the details of an existing Account.
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Responses
200Account
bank_accountsarray of BankAccountrequiredBank accounts attached to this account. Primarily used for payouts.
business_profileBusinessProfileoptionalThe Business Profile for this account.
capabilitiesarray of AccountCapabilityoptionalCapabilities represent the assigned product codes to a given merchant account and their status.
created_atstring date-timerequiredTime at which the object was created.
document_requestsarray of AccountDocumentrequiredDocuments that have been requested for an account, which are either in the
requestedorsubmittedstatusemailstringoptionalThe primary user's email address.
idstringrequiredUnique identifier for the object.
merchant_supportbooleanoptionalWhether Paydude is providing support for this account.
metadataobjectoptionalSet of [key-value pairs](#section/Metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
namestringoptionalThe business name or individual name.
settingsAccountSettingsoptionalThe account settings object.
split_pay_settingsSplitPaySettingsoptionalSplit Pay settings for the account. Currently in beta and not available to all accounts.
statusstring (active | requires_pricing | funding_hold | account_review | partially_active | action_required | created | started | …)optionalThe status of the account.
surcharging_settingsSurchargingSettingsoptionalSurcharging settings for the account. Currently in beta and not available to all accounts.
terminal_readersarray of TerminalReaderrequiredTerminal Readers attached to this account.
typestring (partner | merchant | reseller)requiredThe Paydude account type. Can be
partnerormerchant.updated_atstring date-timerequiredTime at which the object was last updated.
white_label_domainstringoptionalThe
partnerwhite label domain.
/v1/accountsUpdate an Account
Updates an Account by setting the values of the provided parameters. Any parameters not provided remain unchanged.
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Request body application/jsonrequired
bank_accountBankAccountCreateParamsoptionalA bank account to attach to this account for receiving payouts. (Note: currently this is only used for
partneraccount payouts) By default, providing a bank account sets it as the new default bank account for its currency.batch_safety_net_window_hoursnumberoptionalPer-merchant safety-net deadline for manual batch close. If a Batch is still open at
opened_at + window, the platform auto-closes it. Processor implementations must not exceed their Kestrel-declaredmaxSafetyNetWindowHours.emailstringoptionalThe primary user's email address.
metadataobjectoptionalSet of [key-value pairs](#section/Metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value (i.e.
''ornull) to them. All keys can be unset by posting an empty value (i.e.{}ornull) tometadata.namestringoptionalThe business name or individual name.
settingsAccountSettingsCreateParamsoptionalAccount Settings
split_pay_settingsSplitPaySettingsoptionalSplit Pay settings for the account. Currently in beta and not available to all accounts.
surcharging_settingsSurchargingSettingsoptionalSurcharging settings for the account. Currently in beta and not available to all accounts.
white_label_domainstringoptionalThe custom domain the
partnerchooses to reflect on all of itsmerchantaccounts as part of the white label settings. It must use the Paydude-hosted zone for the current environment, or an active reseller partner zone when enabled. *Note: This feature is only available toPartneraccounts.*
Responses
200Account
bank_accountsarray of BankAccountrequiredBank accounts attached to this account. Primarily used for payouts.
business_profileBusinessProfileoptionalThe Business Profile for this account.
capabilitiesarray of AccountCapabilityoptionalCapabilities represent the assigned product codes to a given merchant account and their status.
created_atstring date-timerequiredTime at which the object was created.
document_requestsarray of AccountDocumentrequiredDocuments that have been requested for an account, which are either in the
requestedorsubmittedstatusemailstringoptionalThe primary user's email address.
idstringrequiredUnique identifier for the object.
merchant_supportbooleanoptionalWhether Paydude is providing support for this account.
metadataobjectoptionalSet of [key-value pairs](#section/Metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
namestringoptionalThe business name or individual name.
settingsAccountSettingsoptionalThe account settings object.
split_pay_settingsSplitPaySettingsoptionalSplit Pay settings for the account. Currently in beta and not available to all accounts.
statusstring (active | requires_pricing | funding_hold | account_review | partially_active | action_required | created | started | …)optionalThe status of the account.
surcharging_settingsSurchargingSettingsoptionalSurcharging settings for the account. Currently in beta and not available to all accounts.
terminal_readersarray of TerminalReaderrequiredTerminal Readers attached to this account.
typestring (partner | merchant | reseller)requiredThe Paydude account type. Can be
partnerormerchant.updated_atstring date-timerequiredTime at which the object was last updated.
white_label_domainstringoptionalThe
partnerwhite label domain.
/v1/accounts/capabilitiesAdd an Account Capability
Adds an Account capability. Account capabilities can only be managed before the onboarding application is submitted.
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Request body application/jsonrequired
pricing_template_idstringrequiredThe PricingTemplate id defining the capability to add to the account. Merchant accounts may only have 1 capability per
payment_method_type.
Responses
201
/v1/accounts/capabilities/{id}Delete an Account Capability
Deletes an Account capability. Account capabilities can only be managed before the onboarding application is submitted.
Path parameters
idstringrequired
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Responses
204
/v1/accounts/capabilities/{id}Update an Account Capability
Updates an Account capability. Account capabilities can only be managed before the onboarding application is submitted.
Path parameters
idstringrequired
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Request body application/jsonrequired
pricing_template_idstringrequiredThe PricingTemplate id defining the capability to add to the account. Merchant accounts may only have 1 capability per
payment_method_type.
Responses
201
/v1/accounts/connectedDelete a Connected Account
Deletes a connected Account. This cannot be undone.
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Responses
204
400
/v1/accounts/connectedList all Connected Accounts
Returns a list of merchant Accounts. The Accounts are sorted with the most recently created appearing first. If the provided account type is merchant, the list is empty.
Query parameters
metadataobjectoptionalmetadatakey-value pairs to filter by. Only exact matches on the key-value pair(s) will be returned. Example:?metadata[internal_customer_id]=7cb1159d-875e-47ae-a309-319fa7ff395b.statusarray of string (active | requires_pricing | funding_hold | account_review | partially_active | action_required | created | started | …)optionalOnly return Connected Accounts whose status is included in this array. Examples:
/v1/accounts/connected?status=active,partially_activeand/v1/accounts/connected?status=account_review.qstringoptionalThe partial search of text fields. Supports searching by
account.name,account.business_profile.legal_name,account.id,account.email,user.name,user.emailpartner_application_statusarray of string (created | started | submitted)optionalOnly return Connected Partner Accounts whose partner application status is included in this array. Examples:
/v1/accounts/connected?partner_application_status=created,startedand/v1/accounts/connected?partner_application_status=submitted.processing_capabilitiesarray of string (card | card_present | debit)optionalOnly return Connected Partner Accounts who have an active capability with the specified processing capabilities. Examples:
/v1/accounts/connected?processing_capabilities=card,debitand/v1/accounts/connected?processing_capabilities=card.sortstringoptionalThe sort parameters, value:direction. Possible values:
name,created_at. Possible directions:asc,descFor examplename:asc. Default:created_at:desctypestring (partner | merchant | reseller)optionalOnly return Connected Accounts where the type matches the specified value.
offsetnumberoptionalThe (zero-based) offset of the first item in the collection to return.
limitnumberoptionalThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used.
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Responses
200PaginatedDto | object
has_morebooleanrequiredWhether or not there are more elements available after this set. If
false, this set comprises the end of the list.limitnumberoptionalThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used.
offsetnumberoptionalThe (zero-based) offset of the first item in the collection to return.
totalnumberoptionalThe total items count.
itemsarray of Accountrequired
/v1/accounts/connectedCreate a Connected Account
Creates a connected Account associated with your partner/parent Account.
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Request body application/jsonrequired
This endpoint accepts one of the following shapes.
merchant account parameters
emailstringrequiredThe primary user's email address.
metadataobjectoptionalSet of [key-value pairs](#section/Metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value (i.e.
''ornull) to them. All keys can be unset by posting an empty value (i.e.{}ornull) tometadata.namestringoptionalThe business name or individual name.
pricing_template_idsarray of stringoptionalAn array of Pricing Template ids to associate with the
merchantaccount. This is ignored forpartneraccounts. Only 1 pricing template perpayment_method_typeis allowed. For example, only 1cardand 1ach_debittemplate may be submitted for a given merchant. You cannot specify 2 templates of typecardfor a single merchant. You should create a separate merchant account in that case. *Note: Pass an empty array to configure without pricing for now, pricing must be specified before an onboarding application is made available*product_code_idsarray of stringoptional*Deprecated: Use
pricing_template_idsto specify merchant pricing.* An array of ProductCode ids to associate with themerchantaccount. This is ignored forpartneraccounts. Only 1 capability perpayment_method_typeis allowed. For example, only 1cardand 1ach_debitmay be submitted for a given merchant. You cannot specify 2 capabilities of typecardfor a single merchant. You should create a separate merchant account in that case. *Note: If your account contains multiple capabilities for a given payment method type, then you must explicitly specify the one you want to use. If your account only contains a single capability per payment method type then those values will be the default. If your account is enabled to process in both the United States and Canada, new merchant accounts will be configured with US capabilities if no value is specified forproduct_code_ids.*split_pay_settingsSplitPaySettingsoptionalSplit Pay settings for the account. Currently in beta and not available to all accounts.
surcharging_settingsSurchargingSettingsoptionalSurcharging settings for the account. Currently in beta and not available to all accounts.
partner account parameters
emailstringrequiredThe primary user's email address.
namestringrequiredThe business name or individual name.
split_pay_settingsSplitPaySettingsoptionalSplit Pay settings for the account. Currently in beta and not available to all accounts.
surcharging_settingsSurchargingSettingsoptionalSurcharging settings for the account. Currently in beta and not available to all accounts.
Create a merchant account
{
"name": "Merchant Account",
"email": "merchant@email.test"
}Responses
201Account
bank_accountsarray of BankAccountrequiredBank accounts attached to this account. Primarily used for payouts.
business_profileBusinessProfileoptionalThe Business Profile for this account.
capabilitiesarray of AccountCapabilityoptionalCapabilities represent the assigned product codes to a given merchant account and their status.
created_atstring date-timerequiredTime at which the object was created.
document_requestsarray of AccountDocumentrequiredDocuments that have been requested for an account, which are either in the
requestedorsubmittedstatusemailstringoptionalThe primary user's email address.
idstringrequiredUnique identifier for the object.
merchant_supportbooleanoptionalWhether Paydude is providing support for this account.
metadataobjectoptionalSet of [key-value pairs](#section/Metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
namestringoptionalThe business name or individual name.
settingsAccountSettingsoptionalThe account settings object.
split_pay_settingsSplitPaySettingsoptionalSplit Pay settings for the account. Currently in beta and not available to all accounts.
statusstring (active | requires_pricing | funding_hold | account_review | partially_active | action_required | created | started | …)optionalThe status of the account.
surcharging_settingsSurchargingSettingsoptionalSurcharging settings for the account. Currently in beta and not available to all accounts.
terminal_readersarray of TerminalReaderrequiredTerminal Readers attached to this account.
typestring (partner | merchant | reseller)requiredThe Paydude account type. Can be
partnerormerchant.updated_atstring date-timerequiredTime at which the object was last updated.
white_label_domainstringoptionalThe
partnerwhite label domain.
