POST
/
MoneyIn
/
getpaid
curl --request POST \
  --url https://api-sandbox.payabli.com/api/MoneyIn/getpaid \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "entryPoint": "f743aed24a",
  "ipaddress": "255.255.255.255",
  "paymentMethod": {
    "initiator": "payor",
    "cardHolder": "John Cassian",
    "cardzip": "12345",
    "cardcvv": "123",
    "cardexp": "02/25",
    "cardnumber": "4111111111111111",
    "method": "card"
  },
  "paymentDetails": {
    "totalAmount": 100,
    "serviceFee": 0
  },
  "customerData": {
    "customerId": 4440
  }
}'
{
  "responseText": "Success",
  "isSuccess": true,
  "pageIdentifier": null,
  "responseData": {
    "authCode": "123456",
    "referenceId": "227-d30f8a47ddaf4fa989016d21d088ae5b",
    "resultCode": 1,
    "resultText": "Approved",
    "avsResponseText": "No address or ZIP match only",
    "cvvResponseText": "CVV2/CVC2 no match",
    "customerId": 1409,
    "methodReferenceId": "1ed73dfa-3c67-4076-8f8c-9f26317762ef"
  }
}

Authorizations

requestToken
string
header
required

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

Headers

validationCode
string

Value obtained from user when an API generated captcha is used in payment page

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.

Query Parameters

forceCustomerCreation
boolean
default:
false

When true, the request creates a new customer record, regardless of whether customer identifiers match an existing customer.

achValidation
boolean
default:
false

When true, enables real-time validation of ACH account and routing numbers. This is an add-on feature, contact Payabli for more information.

Body

entryPoint
string | null
required

The entrypoint identifier.

Maximum length: 50
paymentDetails
object
required

Object describing details of the payment. Required.

paymentMethod
object
required

Information about the payment method for the transaction. Required and recommended fields for each payment method type are described in each schema below.

accountId
string | null

Custom identifier for payment connector.

Maximum length: 250
customerData
object

Object describing the Customer/Payor. Which fields are required depends on the paypoint's custom identifier settings. See PayorData Object Model for a complete reference.

invoiceData
object

Object describing an Invoice linked to the transaction.

ipaddress
string

Recommended. The customer's IP address. This field is used to help prevent fraudulent transactions, and Payabli strongly recommends including this data.

orderDescription
string | null

Text description of the transaction.

Maximum length: 250
orderId
string | null

Custom identifier for the transaction.

Maximum length: 250
source
string | null

Custom identifier to indicate the transaction or request source.

Maximum length: 100
subdomain
string | null

Refers to the payment page identifier. If provided, then the transaction is linked to the payment page.

Maximum length: 50
subscriptionId
integer

Payabli identifier of the subscription associated with the transaction.

Response

200 - application/json

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.

pageIdentifier
string | null

Auxiliary validation used internally by payment pages and components.

responseData
object | null

The object containing the response data.

responseText
string | null

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