Executes a PayCentralSdk operation

Executes an operation of PayCentralSdk

📘

Note:

Refer to the PayCentral SDK tutorial for a guide on how to work with the PayCentralSDK service.

With the PayCentralSdk service, you can perform the following operations on the execute endpoint:

  • GetSdkToken

GetSdkToken

BODY PARAMS:
{
  "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
  "OperationName": "GetSdkToken",
  "EntityTypeName": "PayCentralSdk",
  "UseJson": false
}

GetSdkToken

BODY PARAMS:
{
  "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
  "OperationName": "GetSdkToken",
  "EntityTypeName": "PayCentralSdk",
  "Parameters": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
    "$values": [
      {
        "$type": "Asi.Soa.Commerce.DataContracts.PayCentralSdkTokenOptionsData, Asi.Contracts",
        "$value": "options Value"
      }
    ]
  },
  "ParameterTypeName": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
    "$values": [
      "Asi.Soa.Commerce.DataContracts.PayCentralSdkTokenOptionsData, Asi.Contracts"
    ]
  },
  "UseJson": false
}

GetSdkToken

BODY PARAMS:
{
  "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
  "OperationName": "GetSdkToken",
  "EntityTypeName": "PayCentralSdk",
  "Parameters": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
    "$values": [
      {
        "$type": "System.String",
        "$value": "domain Value"
      },
      {
        "$type": "System.String",
        "$value": "partyId Value"
      }
    ]
  },
  "ParameterTypeName": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
    "$values": [
      "System.String",
      "System.String"
    ]
  },
  "UseJson": false
}

GetSdkToken

BODY PARAMS:
{
  "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
  "OperationName": "GetSdkToken",
  "EntityTypeName": "PayCentralSdk",
  "Parameters": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
    "$values": [
      {
        "$type": "System.String",
        "$value": "domain Value"
      },
      {
        "$type": "System.String",
        "$value": "partyId Value"
      },
      {
        "$type": "Asi.Soa.Commerce.DataContracts.PayCentralSdkTokenOptionsData, Asi.Contracts",
        "$value": "options Value"
      }
    ]
  },
  "ParameterTypeName": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
    "$values": [
      "System.String",
      "System.String",
      "Asi.Soa.Commerce.DataContracts.PayCentralSdkTokenOptionsData, Asi.Contracts"
    ]
  },
  "UseJson": false
}
Body Params

request object to execute

string
enum
required
Defaults to Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts

The DataType must be "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts"

Allowed:
string
string
Parameters
array
Parameters
ParameterTypeNames
array of strings
ParameterTypeNames
string
boolean
Defaults to false
Responses
200

The request was successful.

201

The resource was successfully created.

202

The resource was asynchronously created.

Language
Credentials
OAuth2
Response
Click Try It! to start a request and see the response here!

Contact us
Copyright © Advanced Solutions International, All rights reserved.