Payment Execution API
Note
The following endponints 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
Action | Endpoint |
---|---|
Fetch Payment Provider Configuration | GET /payment-execution/{tenantLocator}/paymentProviders/{paymentServiceProvider} |
Add Payment Provider Configuration | POST /payment-execution/{tenantLocator}/paymentProviders |
Update Payment Provider Configuration | PATCH /payment-execution/{tenantLocator}/paymentProviders/{paymentServiceProvider} |
Inactivate Payment Provider Configuration | PATCH /payment-execution/{tenantLocator}/paymentProviders/{paymentServiceProvider}/inactivate |
Fetch Payment Execution Configuration for Financial Instrument | GET /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator} |
Add Payment Execution Configuration for Financial Instrument | POST /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator} |
Update Payment Execution Configuration for Financial Instrument | PATCH /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator} |
Providers
GET /payment-execution/{tenantLocator}/paymentProviders/{paymentServiceProvider}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
paymentServiceProvider | path | Enum braintree | braintreeSandbox | stripe | stripeTest | required |
Response:PaymentProviderConfiguration
Security Group:payment-providers  Permission:read
POST /payment-execution/{tenantLocator}/paymentProviders
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
Request:oneOf<BraintreeConfigurationRequest, StripeConfigurationRequest>
Response:PaymentProviderConfiguration
Security Group:payment-providers  Permission:write
PATCH /payment-execution/{tenantLocator}/paymentProviders/{paymentServiceProvider}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
Request:oneOf<BraintreeConfigurationRequest, StripeConfigurationRequest>
Response:PaymentProviderConfiguration
Security Group:payment-providers  Permission:write
BraintreeConfigurationRequest
¶requiredpaymentProviderState Enum active | inactivemerchantId stringpaymentServiceProvider Enum braintree | braintreeSandbox | stripe | stripeTestprivateKey stringpublicKey string
StripeConfigurationRequest
¶requiredpaymentProviderState Enum active | inactivepaymentServiceProvider Enum braintree | braintreeSandbox | stripe | stripeTestsecretKey string
PATCH /payment-execution/{tenantLocator}/paymentProviders/{paymentServiceProvider}/inactivate
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
paymentServiceProvider | path | Enum braintree | braintreeSandbox | stripe | stripeTest | required |
Response:PaymentProviderConfiguration
Security Group:payment-providers  Permission:write
PaymentProviderConfiguration
¶no fields
Financial Instruments
Fetch Payment Execution Configuration for Financial Instrument
¶fetchPaymentExecutionConfigurationForFinancialInstrument
GET /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
financialInstrumentLocator | path | string | required |
Security Group:financial-instruments  Permission:read
Add Payment Execution Configuration for Financial Instrument
¶addPaymentExecutionConfigurationForFinancialInstrument
POST /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
financialInstrumentLocator | path | string | required |
Security Group:financial-instruments  Permission:write
Update Payment Execution Configuration for Financial Instrument
¶updatePaymentExecutionConfigurationForFinancialInstrument
PATCH /payment-execution/{tenantLocator}/financialInstruments/{financialInstrumentLocator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
financialInstrumentLocator | path | string | required |
Security Group:financial-instruments  Permission:write
FinancialInstrumentConfigurationRequest
¶requiredofflinePaymentToken stringpaymentServiceProvider Enum braintree | braintreeSandbox | stripe | stripeTestoptionalexternalAccountNumber string?
FinancialInstrumentConfigurationResponse
¶requiredpaymentInstrumentLocator stringpaymentServiceProvider Enum braintree | braintreeSandbox | stripe | stripeTestoptionalexternalAccountNumber string?