AchTransactions

Payment (Debit)

Creates an ACH transaction in which funds are transferred from the customer to the merchant. This is used in regular sales transactions.

SecurityBearer or Bearer or Bearer or Bearer
Request
Request Body schema: application/json
paymentProcessorId
required
string <uuid>

ACHQ payment processor Id

paymentMethodId
string or null <uuid>

Customer payment method ID

customerId
string or null <uuid>

Customer id

amount
required
number <double>

Payment amount

isFasterProcessing
boolean

Is same day processing enabled

routingNumber
string or null

Routing number

accountNumber
string or null

Account number

taxId
string or null

Tax Id

accountHolderType
integer <int32> (PaymentGateway.Contracts.Enums.AccountHolderType)

Account holder type

Possible values:

  • 1 - Business: Business
  • 2 - Personal: Personal
Enum: 1 2
accountType
integer <int32> (PaymentGateway.Contracts.Enums.AccountType)

Account type

Possible values:

  • 1 - Checking: Checking
  • 2 - Savings: Savings
Enum: 1 2
object (PaymentGateway.Contracts.Transactions.AddressDto)

A commonly used address structure.

Not all teh fields are used in Tsys, but, generally ought to be provided.

object (PaymentGateway.Contracts.Transactions.AddressDto)

A commonly used address structure.

Not all teh fields are used in Tsys, but, generally ought to be provided.

object (PaymentGateway.Contracts.Transactions.ContactInfoDto)

This group contains fields regarding a customer's contact details such as email id, phone no. etc.

Responses
200

Success

400

Bad Request

404

Not Found

500

Server Error

post/pay-api/v1/transactions/ach/payment
Request samples
application/json
{
  • "paymentProcessorId": "766050ea-5124-420a-946e-13a478ce64d6",
  • "paymentMethodId": null,
  • "customerId": null,
  • "amount": 123.45,
  • "isFasterProcessing": true,
  • "routingNumber": "123123123",
  • "accountNumber": "222222222",
  • "taxId": null,
  • "accountHolderType": 1,
  • "accountType": 1,
  • "billingAddress": {
    },
  • "shippingAddress": {
    },
  • "contactInfo": {
    }
}
Response samples
application/json
{ }

Payment (Credit)

Creates an ACH transaction in which funds are transferred from the merchant to the customer. This is used in credit operations, such as payouts or refunds without reference.

SecurityBearer or Bearer or Bearer or Bearer
Request
Request Body schema: application/json
paymentProcessorId
required
string <uuid>

ACHQ payment processor Id

paymentMethodId
string or null <uuid>

Customer payment method ID

customerId
string or null <uuid>

Customer id

amount
required
number <double>

Payment amount

isFasterProcessing
boolean

Is same day processing enabled

routingNumber
string or null

Routing number

accountNumber
string or null

Account number

taxId
string or null

Tax Id

accountHolderType
integer <int32> (PaymentGateway.Contracts.Enums.AccountHolderType)

Account holder type

Possible values:

  • 1 - Business: Business
  • 2 - Personal: Personal
Enum: 1 2
accountType
integer <int32> (PaymentGateway.Contracts.Enums.AccountType)

Account type

Possible values:

  • 1 - Checking: Checking
  • 2 - Savings: Savings
Enum: 1 2
object (PaymentGateway.Contracts.Transactions.AddressDto)

A commonly used address structure.

Not all teh fields are used in Tsys, but, generally ought to be provided.

object (PaymentGateway.Contracts.Transactions.AddressDto)

A commonly used address structure.

Not all teh fields are used in Tsys, but, generally ought to be provided.

object (PaymentGateway.Contracts.Transactions.ContactInfoDto)

This group contains fields regarding a customer's contact details such as email id, phone no. etc.

Responses
200

Success

400

Bad Request

404

Not Found

500

Server Error

post/pay-api/v1/transactions/ach/payment/credit
Request samples
application/json
{
  • "paymentProcessorId": "ab7c807c-fccd-4245-a8c1-d5653ddc177d",
  • "paymentMethodId": null,
  • "customerId": null,
  • "amount": 123.45,
  • "isFasterProcessing": true,
  • "routingNumber": "123123123",
  • "accountNumber": "222222222",
  • "taxId": null,
  • "accountHolderType": 1,
  • "accountType": 1,
  • "billingAddress": {
    },
  • "shippingAddress": {
    },
  • "contactInfo": {
    }
}
Response samples
application/json
{ }

Void

SecurityBearer or Bearer or Bearer or Bearer
Request
path Parameters
id
required
string <uuid>
Responses
200

Success

400

Bad Request

404

Not Found

500

Server Error

post/pay-api/v1/transactions/ach/{id}/void
Request samples
Response samples
application/json
{ }

Refund

SecurityBearer or Bearer or Bearer or Bearer
Request
path Parameters
id
required
string <uuid>
Responses
200

Success

400

Bad Request

404

Not Found

500

Server Error

post/pay-api/v1/transactions/ach/{id}/refund
Request samples
Response samples
application/json
{ }

Hold

SecurityBearer or Bearer or Bearer or Bearer
Request
path Parameters
id
required
string <uuid>
Responses
200

Success

400

Bad Request

404

Not Found

500

Server Error

post/pay-api/v1/transactions/ach/{id}/hold
Request samples
Response samples
application/json
{ }

Remove hold

SecurityBearer or Bearer or Bearer or Bearer
Request
path Parameters
id
required
string <uuid>
Responses
200

Success

400

Bad Request

404

Not Found

500

Server Error

post/pay-api/v1/transactions/ach/{id}/unhold
Request samples
Response samples
application/json
{ }