At the API level, Card Processing works in the following way:
Interchange-US
View API
import os
from synapse_pay_rest import Client
from synapse_pay_rest import User
from synapse_pay_rest.models.nodes import InterchangeUsNode
kwargs = {
'nickname': 'Python Test INTERCHANGE-US Account',
'card_number': '9401113999999995',
'exp_date': '202110',
'document_id': 'user.base_documents[0].id'
}
node = InterchangeUsNode.create(user, **kwargs)