Process Repay transaction

This request processes a transaction via Repay.

   Click here to learn more about this request

Secure Payments allows users to process payments through Repay. Note the following when using this request:

A Repay Processor is required by this request. Use the POST Create Repay processor request to create one. If a Repay Processor exists, use the GET all processors request to retrieve the processor ID.

A customer's Payment Profile token is required by this request. Use the GET payment profile information request to see this token.

Repay processes both ACH and bank card transactions. Choose only one of the card or checking-account objects depending on the type of the transaction.

For more information, see our Repay article.

{
  "transaction": 
  { 
    "amount": 123.45, 
    "funds-direction": "FromCustomer", 
    "sec-code": "WEB" 
  }, 
  "metadata": {
    "origin": "origin", 
    "username": "username"
  }, 
  "checking-account": {
    "token": "QVFJREFIaStNYmI..."
  }
}
{ 
  "transaction": 
  { 
    "amount": 123.45, 
    "funds-direction": "ToCustomer", 
    "sec-code": "WEB" 
  }, 
  "metadata": { 
    "origin": "origin", 
    "username": "username" 
  }, 
  "checking-account": { 
    "token": "QVFJREFIaStNYmI..." 
  }
}
{ 
  "transaction": 
  { 
    "amount": 123.45, 
    "funds-direction": "FromCustomer", 
    "sec-code": "WEB" 
  }, 
  "metadata": { 
    "origin": "origin", 
    "username": "username" 
  }, 
  "card": { 
    "token": "QVFJREFIaStNYmI..." 
  }
}
{ 
  "transaction": 
  { 
    "amount": 123.45, 
    "funds-direction": "ToCustomer", 
    "sec-code": "WEB" 
  }, 
  "metadata": { 
    "origin": "origin", 
    "username": "username" 
  }, 
  "card": { 
    "token": "QVFJREFIaStNYmI..." 
  }
}

Results

Returns the transaction, account, and processor objects after a successfully processed Repay transaction. An error results in a message and context object indicating the type of error (e.g. invalid payment profile token).

Path Params
int32
required

The ID of the Repay processor configuration.

Body Params
transaction
object
required
checking-account
object
required

Object that holds the token that represents a customer's bank account. Use this object instead of the card object when funding or processing a payment for a bank account.

card
object
required

Object that holds the token that represents a customer's bank account. Use this object instead of the checking-account object when funding or processing a payment for a bank account.

metadata
object

Optional object that stores metadata fields.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json