Update Vaulted Card

API Endpoint

The example below you can send the data as Query String Parameters, Form-Data or WWW Form URL Encoded attributes.

POST https://api.openpath.io/api/transact.php

customer_vault=update_customer
username=TZSdpU2VhaWcTZZ7
password=hsStGpREZVrG2M3Fkdqxwy4h
customer_vault_id=payment_eck3Nc3ACdP73H7Xr3TayT4hRA9WX7P49MWNhqeq7A449Pc2
update_customer=4111111111111111
ccexp=0140
cvv=123

Name

Attribute

Description

Customer Vault

customer_vault

Associate payment information with a Customer Vault record if the transaction is successful.
Values: sale, add_customer or update_customer

Username

username

This is the API Login ID from your Site Path.

Password

password

This is the Transaction Key from your Site Path.

Customer Vault ID

customer_vault_id

Specifies a Customer Vault ID.

Credit Card Number

update_customer

Credit card number.

Expiry Date

ccexp

Credit card expiration date.
Format: MMYY

CVV

cvv

The three/four digit CAV/CVV on the card.

Response

response=1&responsetext=100 | SUCCESS&authcode=123456&transactionid=9848880910&orderid=&type=sale&response_code=100