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.

Process an authorization and store payment details in the vault - all in one request.
1

1. Create an Auth Transaction

Include all of the variables you need to perform an auth request.This example request shows the payment token received from Collect.js.
2

2. Add to Customer Vault

Save the payment information in the customer vault to be used later.Optionally, you can specify the customer_vault_id.

Example Request

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

     --data type=auth \
     --data amount=1.01 \
     --data payment_token=00000000-000000-000000-000000000000\

     --data customer_vault=add_customer \
     --data customer_vault_id=123456

Example Response

{"success":true}
Review Customer Vault Variables and Transaction Variables before you use this flow in production.