POST | /api2/deposits/start |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PayablesKeys | body | IEnumerable<PayableKey> | No | |
isAPXPayment | body | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Amount | form | decimal | No | |
SharedObjectType | form | string | No | |
IsTrust | form | bool | No | |
IsSurchargeTransferEnabled | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Amount | form | decimal | No | |
CreditCardInfo | form | ClientCard | No | |
payNowTokenId | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
amountInCent | form | int | No | |
name | form | string | No | |
number | form | string | No | |
expMonth | form | int | No | |
expYear | form | int | No | |
address | form | string | No | |
city | form | string | No | |
state | form | string | No | |
cvv | form | string | No | |
postalCode | form | string | No | |
secretKey | form | string | No | |
LawPayToken | form | string | No | |
NotStoredLawPayToken | form | string | No | |
SaveCardEnabled | form | bool | No | |
ClientId | form | int? | No | |
ClientType | form | int? | No | |
CardType | form | string | No | |
IsDefault | form | bool | No | |
DateAdded | form | DateTime | No | |
CardId | form | int | No | |
PaymentToken | form | string | No | |
FirmId | form | int | No | |
UserId | form | int | No | |
form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api2/deposits/start HTTP/1.1
Host: zolacaseway.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
isAPXPayment: False
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { amount: 0, creditCardInfo: { amountInCent: 0, name: String, number: String, expMonth: 0, expYear: 0, address: String, city: String, state: String, cvv: String, postalCode: String, secretKey: String, lawPayToken: String, notStoredLawPayToken: String, saveCardEnabled: False, clientId: 0, clientType: 0, cardType: String, isDefault: False, dateAdded: 0001-01-01, cardId: 0, paymentToken: String, firmId: 0, userId: 0, email: String }, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } }, payNowTokenId: String }