Create CPA-005 transaction

The request creates a CPA-005 transaction.

   Click here to learn more about this request

This request creates a new transaction that's processed via a CPA-005 processor. Before sending this request, ensure the following pre-requisites have been completed:

  • A customer has been created
  • A payment profile has been created and associated with the customer
  • A CPA-005 processor has been created

For more information regarding CPA-005 payment processors, read our CPA-005 Payment Processors article.

{
    "transaction": {
        "amount": 125,
        "funds-direction": "FromCustomer",
        "phone": "8000000000",
        "email": "[email protected]"
    },
    "metadata": {
        "origin": "Secure Payments API",
        "username": "[email protected]"
    },
    "checking-account": {
        "token": "QVFJREFIa..."
    }
}

Results

Returns the transaction, account, and processor objects on a successful CPA-005 transaction creation. An error results in a message indicating the type of error (e.g. credentials expired).

Path Params
int32
required

The ID of the selected CPA-005 processor.

Body Params
transaction
object
checking-account
object
metadata
object
Responses

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