Socotra
API ReferenceBilling API

Payment Execution API

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.

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

Fetch Payment Provider ConfigurationsfetchPaymentProviderConfigurations
GET/payment-execution/{tenantLocator}/paymentProviders/list

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
paymentServiceProviderqueryEnum? braintree | braintreeSandbox | stripe | stripeTestNo
offsetqueryinteger?No
countqueryinteger?No
Security Group:payment-providers
Permission:
list
ListPageResponsePaymentProvider

Required properties

PropertyTypeDescription
listCompletedboolean
itemsPaymentProvider[]

Fetch Payment Provider Configuration

Fetch Payment Provider ConfigurationfetchPaymentProviderConfiguration
GET/payment-execution/{tenantLocator}/paymentProviders/{locator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
locatorpathulidYes
Security Group:payment-providers
Permission:
read

Add Payment Provider Configuration

Add Payment Provider ConfigurationaddPaymentProviderConfiguration
POST/payment-execution/{tenantLocator}/paymentProviders

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
Security Group:payment-providers
Permission:
write

Update Payment Provider Configuration

Update Payment Provider ConfigurationupdatePaymentProviderConfiguration
PATCH/payment-execution/{tenantLocator}/paymentProviders/{locator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
locatorpathulidYes
Security Group:payment-providers
Permission:
write
BraintreeConfigurationRequest

Required properties

PropertyTypeDescription
paymentProviderStateEnum active | inactive
merchantIdstring
paymentServiceProviderEnum braintree | braintreeSandbox | stripe | stripeTest
privateKeystring
publicKeystring
StripeConfigurationRequest

Required properties

PropertyTypeDescription
paymentProviderStateEnum active | inactive
paymentServiceProviderEnum braintree | braintreeSandbox | stripe | stripeTest
secretKeystring

Inactivate Payment Provider Configuration

Inactivate Payment Provider ConfigurationinactivatePaymentProviderConfigurationDeprecated
PATCH/payment-execution/{tenantLocator}/paymentProviders/{locator}/inactivate

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
locatorpathulidYes
Security Group:payment-providers
Permission:
write
PaymentProvider

Required properties

PropertyTypeDescription
locatorulid
paymentProviderStateEnum active | inactive
paymentServiceProviderEnum braintree | braintreeSandbox | stripe | stripeTest

Financial Instruments

Fetch Payment Execution Configuration For Financial Instrument

Fetch Payment Execution Configuration For Financial InstrumentfetchPaymentExecutionConfigurationForFinancialInstrument
GET/payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
financialInstrumentLocatorpathulidYes
Security Group:financial-instruments
Permission:
read

Add Payment Execution Configuration For Financial Instrument

Add Payment Execution Configuration For Financial InstrumentaddPaymentExecutionConfigurationForFinancialInstrument
POST/payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
financialInstrumentLocatorpathulidYes
Security Group:financial-instruments
Permission:
write

Update Payment Execution Configuration For Financial Instrument

Update Payment Execution Configuration For Financial InstrumentupdatePaymentExecutionConfigurationForFinancialInstrument
PATCH/payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
financialInstrumentLocatorpathulidYes
Security Group:financial-instruments
Permission:
write
FinancialInstrumentConfigurationRequest

Required properties

PropertyTypeDescription
paymentProviderLocatorulid
offlinePaymentTokenstring

Optional properties

PropertyTypeDescription
externalAccountNumberstring?
FinancialInstrumentConfigurationResponse

Required properties

PropertyTypeDescription
paymentInstrumentLocatorulid
paymentProviderLocatorulid

Optional properties

PropertyTypeDescription
externalAccountNumberstring?

See Also

On this page