Payment Execution API

Note

The following endpoints are managed by the dedicated Payment Execution service in order to facilitate PCI-Compliance. Please review Socotra’s PCI Compliance Statement for more information.

Endpoint Index

ActionEndpoint
Fetch Payment Provider ConfigurationsGET /payment-execution/{tenantLocator}/paymentProviders/list
Fetch Payment Provider ConfigurationGET /payment-execution/{tenantLocator}/paymentProviders/{locator}
Add Payment Provider ConfigurationPOST /payment-execution/{tenantLocator}/paymentProviders
Update Payment Provider ConfigurationPATCH /payment-execution/{tenantLocator}/paymentProviders/{locator}
Inactivate Payment Provider ConfigurationPATCH /payment-execution/{tenantLocator}/paymentProviders/{locator}/inactivate
Fetch Payment Execution Configuration for Financial InstrumentGET /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}
Add Payment Execution Configuration for Financial InstrumentPOST /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}
Update Payment Execution Configuration for Financial InstrumentPATCH /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}

Providers

Fetch Payment Provider Configurations
fetchPaymentProviderConfigurations
GET /payment-execution/{tenantLocator}/paymentProviders/list
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    paymentServiceProviderqueryEnum? braintree | braintreeSandbox | stripe | stripeTestoptional
    offsetqueryint?optional
    countqueryint?optional
    Security Group:payment-providers   Permission:list
ListPageResponsePaymentProvider
required
listCompleted boolean
Fetch Payment Provider Configuration
fetchPaymentProviderConfiguration
GET /payment-execution/{tenantLocator}/paymentProviders/{locator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathstringrequired
    Security Group:payment-providers   Permission:read
Add Payment Provider Configuration
addPaymentProviderConfiguration
POST /payment-execution/{tenantLocator}/paymentProviders
Update Payment Provider Configuration
updatePaymentProviderConfiguration
PATCH /payment-execution/{tenantLocator}/paymentProviders/{locator}
BraintreeConfigurationRequest
required
paymentProviderState Enum active | inactive
merchantId string
paymentServiceProvider Enum braintree | braintreeSandbox | stripe | stripeTest
privateKey string
publicKey string
StripeConfigurationRequest
required
paymentProviderState Enum active | inactive
paymentServiceProvider Enum braintree | braintreeSandbox | stripe | stripeTest
secretKey string
Inactivate Payment Provider Configuration
Deprecated
inactivatePaymentProviderConfiguration
This endpoint will be removed in a future release.
PATCH /payment-execution/{tenantLocator}/paymentProviders/{locator}/inactivate
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathstringrequired
    Security Group:payment-providers   Permission:write
PaymentProvider
required
locator string
paymentProviderState Enum active | inactive
paymentServiceProvider Enum braintree | braintreeSandbox | stripe | stripeTest

Financial Instruments

Fetch Payment Execution Configuration for Financial Instrument
fetchPaymentExecutionConfigurationForFinancialInstrument
GET /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    financialInstrumentLocatorpathstringrequired
    Security Group:financial-instruments   Permission:read
Add Payment Execution Configuration for Financial Instrument
addPaymentExecutionConfigurationForFinancialInstrument
POST /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}
Update Payment Execution Configuration for Financial Instrument
updatePaymentExecutionConfigurationForFinancialInstrument
PATCH /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}
FinancialInstrumentConfigurationRequest
required
paymentProviderLocator string
offlinePaymentToken string

optional
externalAccountNumber string?
FinancialInstrumentConfigurationResponse
required
paymentInstrumentLocator string
paymentProviderLocator string

optional
externalAccountNumber string?

See Also