Creates a new payment option.
Name | Description | Additional information |
---|---|---|
model | The model of the payment option. |
Define this parameter in the request body. |
{
"DisplayOrder": 1,
"EnableAmericanExpress": true,
"EnableDiscover": true,
"EnableMasterCard": true,
"EnableRecurringPayments": true,
"EnableVault": true,
"EnableVisa": true,
"IsActive": true,
"IsRmaCompatible": true,
"Partner": "sample string 3",
"PaymentGateway": {
"$id": "2",
"Name": "sample string 1",
"PaymentGatewayId": 2,
"Url": "sample string 3"
},
"PaymentGatewayId": 1,
"PaymentGatewayPassword": "sample string 4",
"PaymentGatewayUsername": "sample string 5",
"PaymentOptionId": 6,
"PaymentType": {
"$id": "3",
"Description": "sample string 1",
"IsActive": true,
"Name": "sample string 3",
"PaymentTypeId": 4
},
"PaymentTypeId": 7,
"PreAuthorize": true,
"ProfileId": 1,
"ProfileName": "sample string 9",
"TestMode": true,
"TransactionKey": "sample string 11",
"Vendor": "sample string 12",
"IsExists": true,
"AdditionalFee": "sample string 13"
}