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 a sale and securely store payment details in the customer vault within a single request.
1

1. Create a Sale Transaction

Include all of the variables you need to perform a sale 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=sale \
     --data amount=1 \
     --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, Transaction Types, and Transaction Response Variables before you use this checkout pattern in production.