POST api/Payfort/UpdateAndChargeAccountCard

Request Information

URI Parameters

None.

Body Parameters

PayfortAccountCreationParametersModel
NameDescriptionTypeAdditional information
amount

string

None.

currencyid

string

None.

accountkey

string

None.

paymenttypekey

string

None.

countryid

string

None.

componentkey

string

None.

payerkey

string

None.

payeekey

string

None.

secure3dreturnurl

string

None.

customeremail

string

None.

MerchantOperationCommand

MerchantOperationCommands

None.

UserHostAddress

string

None.

signature

string

None.

response_code

string

None.

card_number

string

None.

card_holder_name

string

None.

access_code

string

None.

merchant_identifier

string

None.

expiry_date

string

None.

language

string

None.

response_message

string

None.

service_command

string

None.

merchant_reference

string

None.

token_name

string

None.

return_url

string

None.

remember_me

string

None.

status

string

None.

card_bin

string

None.

merchant_extra

string

None.

Request Formats

application/json, text/json

Sample:
{
  "amount": "sample string 1",
  "currencyid": "sample string 2",
  "accountkey": "sample string 3",
  "paymenttypekey": "sample string 4",
  "countryid": "sample string 5",
  "componentkey": "sample string 6",
  "payerkey": "sample string 7",
  "payeekey": "sample string 8",
  "secure3dreturnurl": "sample string 9",
  "customeremail": "sample string 10",
  "MerchantOperationCommand": 1,
  "UserHostAddress": "sample string 11",
  "signature": "sample string 12",
  "response_code": "sample string 13",
  "card_number": "sample string 14",
  "card_holder_name": "sample string 15",
  "access_code": "sample string 16",
  "merchant_identifier": "sample string 17",
  "expiry_date": "sample string 18",
  "language": "sample string 19",
  "response_message": "sample string 20",
  "service_command": "sample string 21",
  "merchant_reference": "sample string 22",
  "token_name": "sample string 23",
  "return_url": "sample string 24",
  "remember_me": "sample string 25",
  "status": "sample string 26",
  "card_bin": "sample string 27",
  "merchant_extra": "sample string 28"
}

application/xml, text/xml

Sample:
<PayfortAccountCreationParametersModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models">
  <access_code>sample string 16</access_code>
  <card_bin>sample string 27</card_bin>
  <card_holder_name>sample string 15</card_holder_name>
  <card_number>sample string 14</card_number>
  <expiry_date>sample string 18</expiry_date>
  <language>sample string 19</language>
  <merchant_extra>sample string 28</merchant_extra>
  <merchant_identifier>sample string 17</merchant_identifier>
  <merchant_reference>sample string 22</merchant_reference>
  <remember_me>sample string 25</remember_me>
  <response_code>sample string 13</response_code>
  <response_message>sample string 20</response_message>
  <return_url>sample string 24</return_url>
  <service_command>sample string 21</service_command>
  <status>sample string 26</status>
  <token_name>sample string 23</token_name>
  <MerchantOperationCommand>Purchase</MerchantOperationCommand>
  <UserHostAddress>sample string 11</UserHostAddress>
  <accountkey>sample string 3</accountkey>
  <amount>sample string 1</amount>
  <componentkey>sample string 6</componentkey>
  <countryid>sample string 5</countryid>
  <currencyid>sample string 2</currencyid>
  <customeremail>sample string 10</customeremail>
  <payeekey>sample string 8</payeekey>
  <payerkey>sample string 7</payerkey>
  <paymenttypekey>sample string 4</paymenttypekey>
  <secure3dreturnurl>sample string 9</secure3dreturnurl>
  <signature>sample string 12</signature>
</PayfortAccountCreationParametersModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.