Skip to main content

Documentation Index

Fetch the complete documentation index at: https://bancofcalifornia-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Complete a full payment transaction in a single request.
1

1. Create a Sale Transaction

The transaction type sale performs both an authorization and a capture of an authorized amount for a transaction.This example request shows the payment token received from Collect.js.
2

2. Optional Information

Provide additional information you need to perform a sale request, such as address, phone, and email details.

Example Request

curl --request POST \
     --url https://gateway.bancedge.com/api/transact.php \
     --header 'accept: application/x-www-form-urlencoded' \
     --header 'content-type: application/x-www-form-urlencoded'

     --data type=sale \
     --data amount=1 \
     --data payment_token=00000000-000000-000000-000000000000\

     --data first_name=John \
     --data last_name=Doe \
     --data 'address1=123 Main Street' \
     --data 'address2=Apt E' \
     --data city=Wichita \
     --data state=KS \
     --data zip=12345 \
     --data country=US \
     --data phone=12456789 \
     --data email=johndoe@gateway.com

     --data security_key=6457Thfj624V5r7WUwc5v6a68Zsd6YEm

Example Response

{"success":true}
Use Transaction Types, Transaction Variables, and Transaction Response Variables when you adapt this recipe for production.