POST
/
MoneyIn
/
validate
curl --request POST \
  --url https://api-sandbox.payabli.com/api/MoneyIn/validate \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "entryPoint": "d193cf9a46",
  "orderId": "O-5140",
  "orderDescription": "Depost for materials for 123 Walnut St",
  "accountId": "<string>",
  "paymentMethod": {
    "method": "card",
    "cardnumber": "4111111111111111",
    "cardexp": "02/25",
    "cardcvv": "123",
    "cardzip": "12345",
    "cardHolder": "John Cassian"
  }
}'
{
  "responseText": "Success",
  "isSuccess": true,
  "responseData": {
    "AuthCode": "A0000",
    "ReferenceId": " ",
    "ResultCode": 1,
    "ResultText": "Validated",
    "avsResponseText": "null,",
    "cvvResponseText": "null,",
    "CustomerId": 123,
    "methodReferenceId": null
  }
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Headers

idempotencyKey
string

A unique ID you can include to prevent duplicating objects or transactions if a request is sent more than once. This key is not generated in Payabli, you must generate it yourself.

Example:

"6B29FC40-CA47-1067-B31D-00DD010662DA"

Body

entryPoint
string | null
required

The entrypoint identifier.

Maximum length: 50
Example:

"d193cf9a46"

paymentMethod
object
required

Object describing payment method to use for transaction.

orderId
string | null

Custom identifier for the transaction.

Maximum length: 250
Example:

"O-5140"

orderDescription
string | null

Text description of the transaction.

Maximum length: 250
Example:

"Depost for materials for 123 Walnut St"

accountId
string | null

Custom identifier for payment connector.

Maximum length: 250

Response

200
application/json
Ok

General response for certain moneyIn and moneyOut endpoints.

isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Example:

true

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"

pageIdentifier
string | null

Auxiliary validation used internally by payment pages and components.

Example:

null

responseData
object | null

The object containing the response data.