Create Payment

Creates a payment for the cashier.

Resource Information

Scopepayments

Deprecated scope name:   create_payments

App TypeAll
Authorization TypeAccess token
URI /v4/payments?lang={lang}
HTTP MethodPOST
Automation Version(s)7.3.2

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
langStringNo Indicates the language applied.7.3.2
amountDoubleNo The amount of a payment transaction or account balance.7.3.2
checkcheck{}No The payment check.7.3.3.5
check.accountNumberstringNo The check account number.7.3.3.5
check.bankNamestringNo The name of the bank issued on the check.7.3.3.5
check.billingAddresscheck.billingAddress{}No The address on the check.7.3.3.5
check.billingAddress.addressLine1stringNo The first line of the address. 7.3.3.5
check.billingAddress.addressLine2stringNo The second line of the address.7.3.3.5
check.billingAddress.addressLine3stringNo Get All Address Unit Types The current status of the address record.7.3.3.5
check.billingAddress.citystringNo The name of the city.7.3.3.5
check.billingAddress.countryCodestringNo Get All Address Countries The name of the country. Required if billing address is provided.7.3.3.5
check.billingAddress.postalCodestringNo The name of the county.7.3.3.5
check.billingAddress.statestringNo Get All Address States The state corresponding to the address on record.7.3.3.5
check.checkNumberstringNo The check number.7.3.3.5
check.driverLicenseNumberstringNo The driver's license of the person or entity issuing the check.7.3.3.5
check.emailstringNo The email address of the person or entity issuing the check.7.3.3.5
check.firstNamestringNo The first name of the person or entity issuing the check.7.3.3.5
check.holderNamestringNo The check holder name.7.3.3.5
check.lastNamestringNo The last name of the person or entity issuing the check.7.3.3.5
check.middleNamestringNo The middle name of the person or entity issuing the check.7.3.3.5
check.phonestringNo The phone number of the person or entity issuing the check.7.3.3.5
check.routingNumberstringNo The check routing number.7.3.3.5
check.typestringNo The check type.7.3.3.5
creditCardcreditCard{}No The credit card information.7.3.2
creditCard.billingAddresscreditCard.billingAddress{}No The credit card address.7.3.2
creditCard.billingAddress.addressLine1stringNo The first line of the address. 7.3.2
creditCard.billingAddress.addressLine2stringNo The second line of the address.7.3.2
creditCard.billingAddress.addressLine3stringNo Get All Address Unit Types The current status of the address record.7.3.2
creditCard.billingAddress.citystringNo The name of the city.7.3.2
creditCard.billingAddress.countryCodestringNo Get All Address Countries The name of the country. Required if billing address is provided.7.3.2
creditCard.billingAddress.postalCodestringNo The name of the county.7.3.2
creditCard.billingAddress.statestringNo Get All Address States The state corresponding to the address on record.7.3.2
creditCard.businessNamestringNo A secondary business name for the applicable individual.7.3.2
creditCard.cardNumberstringNo The credit card number.7.3.2
creditCard.cardTypestringNo The credit card type. For example, Visa, American Express, or Discover.7.3.2
creditCard.emailstringNo The contact's email address.7.3.2
creditCard.expirationMonthstringNo The 2-digit expiration month.7.3.2
creditCard.expirationYearstringNo The 4-digit expiration year.7.3.2
creditCard.holderNamestringNo The check holder's name.7.3.2
creditCard.phonestringNo The credit card holder's phone number.7.3.2
creditCard.securityCodestringNo The 3-digit security code on the back of a credit card.7.3.2
currencystringNo The standard ISO 4217 currency code. For example, "USD" for US Dollars.7.3.2
entityIdstringNo The unique ID of the entity or record.7.3.2
entityTypestringNo The type of entity.7.3.2
paymentMethodstringNoCredit Card | Check | Trust AccountThe method of payment, for example, credit card, check, trust account.7.3.2
trustAccounttrustAccount{}No Get All Trust Accounts The trust account to be used for the payment transaction.7.3.3.5
trustAccount.accountstringNo The account ID number for the trust account.7.3.3.5
trustAccount.acctStatusstringNoActive | CloseThe status of the trust account.7.3.3.5
trustAccount.associationstrustAccount.associations{}No The trust account associations.7.3.3.5
trustAccount.associations.textstringNo The localized display text.7.3.3.5
trustAccount.associations.valuestringNo The value for the specified parameter.7.3.3.5
trustAccount.balancedoubleNo The balance of the trust account in dollars.7.3.3.5
trustAccount.descriptionstringNo The description of the trust account.7.3.3.5
trustAccount.idlongNo The unique identifier for the object, assigned by the Civic Platform server and provided in a response.7.3.3.5
trustAccount.isPrimarystringNoY | NIndicates whether or not to designate the trust account as the primary source.7.3.3.5
trustAccount.ledgerAccountstringNo The ledger account of the trust account.7.3.3.5
trustAccount.overdraftstringNoY | NIndicates whether or not the trust account can use the overdraft option.7.3.3.5
trustAccount.overdraft.textstringNo The localized display text.7.3.3.5
trustAccount.overdraft.valuestringNo The value for the specified parameter.7.3.3.5
trustAccount.overdraftLimitDoubleNo The overdraft limit amount, in dollars, for the trust account.7.3.3.5
trustAccount.serviceProviderCodestringNo The unique agency identifier.7.3.3.5
trustAccount.statusstringNoActive | ClosedThe status of the trust account.7.3.3.5
trustAccount.status.textstringNo The localized display text.7.3.3.5
trustAccount.status.valuestringNo The value for the specified parameter.7.3.3.5
trustAccount.thresholdAmountDoubleNo The minimum amount required in a trust account. 7.3.3.5

Example

Sample Request Head

POST https://apis.accela.com/v4/payments

Sample Request Body

{
  "check": {
    "billingAddress": {
      "addressLine1": "1000 Broad Street",
      "addressLine2": "1000 Broad Street2",
      "addressLine3": "1000 Broad Street3",
      "city": "New Orleans",
      "countryCode": "US",
      "postalCode": "70119",
      "state": "LA"
    },
    "accountType": "Personal",
    "email": "danny.guo@achievo.com",
    "phone": "(504) 654-3210",
    "checkNumber": "1001",
    "accountNumber": "786435667",
    "holderName": "Sally",
    "firstName": "FirstName",
    "lastName": "lastName",
    "middleName": "MiddleName",
    "routingNumber": "1234",
    "licenseNumber": "56780439085000",
    "bankName": "Bank of America"
  },
  "currency": "USD",
  "amount": "10.00",
  "paymentMethod": "Check",
  "entityId": "14CAP-00000-00380",
  "entityType": "Record"
}

Response Information

FieldTypeDescriptionAutomation Version
resultresult{} 7.3.2
result.customIdstring 7.3.2
result.entityIdstringThe unique ID of the entity or record.7.3.3.5
result.entityTypestringThe type of entity.7.3.3.5
result.messagestringA text message related to the operation.7.3.2
result.paymentIdlongThe unique Id generated for a payment.7.3.2
result.transactionIdstringA unique number, assigned by the system, that indentifies the transaction.7.3.2
statusintegerThe record status.7.3.3

Example

Sample Response Body

{
  "status": 200,
  "result": {
    "entityId": "14CAP-00000-00380",
    "entityType": "Record",
    "message": "Paid Success",
    "status": "Success",
    "transactionId": "322938"
  }
}