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.

Validate a payment method and add it to the customer vault in one seamless request.
1

1. Create a Validate Transaction

Include all of the variables you need to perform a validate 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=validate \
     --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}
Use Customer Vault Variables for vault-specific fields and Transaction Variables for the complete validation request schema.