POST api/v1/CreditCard?token={token}&inCaseOfErrorReturnHttpCode={inCaseOfErrorReturnHttpCode}
Get a credit card token
Request Information
URI Parameters
Name | Description | Type/Additional information |
---|---|---|
token |
CaspitWeb Token |
string |
inCaseOfErrorReturnHttpCode |
קוד ה-HTTP שיוחזר במקרה של שגיאה. ברירת המחדל היא 400 אבל אתה יכול לשלוח קוד אחר אם יש לך צורך כזה. |
Default value is BadRequest |
Body Parameters
פרטי כרטיס האשראי
Request Formats
application/json, text/json
Sample:
{ "CCNumber": "sample string 1", "CCNumberToken": "sample string 2", "CCHolderTZ": "sample string 3", "CCExpDate": "sample string 4", "CVV": "sample string 5", "DateCreated": "2024-11-23T10:10:21.5026537+02:00", "UserCreated": "sample string 6", "DateUpdated": "2024-11-23T10:10:21.5026537+02:00", "UserUpdated": "sample string 7" }
application/xml, text/xml
Sample:
<CaspitCreditCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.caspit.biz/2013/03"> <DateCreated>2024-11-23T10:10:21.5026537+02:00</DateCreated> <DateUpdated>2024-11-23T10:10:21.5026537+02:00</DateUpdated> <UserCreated>sample string 6</UserCreated> <UserUpdated>sample string 7</UserUpdated> <CCExpDate>sample string 4</CCExpDate> <CCHolderTZ>sample string 3</CCHolderTZ> <CCNumber>sample string 1</CCNumber> <CCNumberToken>sample string 2</CCNumberToken> <CVV>sample string 5</CVV> </CaspitCreditCard>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Description
CaspitCreditCard