Registers a cardholder's credit card in the PayFacto recurring billing vault without processing any transaction. No charge is made. On success, a token is returned that identifies the cardholder for future recurring or token-based billing.
API Key
Generate your API key from the Payments Manager: Administrator Client β API Key β Add New Key. Pass it as auth-api-key in every request.
Company & Merchant Numbers
Your CompanyNumber (5-digit) and MerchantNumber (8-digit) are issued by PayFacto during onboarding. Both are required on every Add User request.
Environment Base URL
Test: https://test.api.payfacto.cloud/v1 | Production: Provided by the PayFacto Integration team upon certification.
Request Format β Base64-Encoded Payload
Requests use HTTP POST with an application/x-www-form-urlencoded body. Assemble all parameters as a cleartext query string, Base64-encode it, then send: auth-api-key={key}&payload={base64}. E-Commerce transactions send 5 blank spaces for MerchantTerminalNumber.
Credit Card Only β No Transaction Processed
This endpoint registers a credit card in the PayFacto recurring billing vault. No charge is made to the cardholder. Interac debit (IAP) is not supported. To immediately charge the cardholder and create a subscription at the same time, use /v1/recur/AddSubscription instead.
Store the Token
On success, persist the token returned in the response. This token identifies the registered cardholder and is required for all future recurring or token-based billing operations against this card.
All parameters are passed inside the Base64-encoded payload form field. Raw body format: auth-api-key=<key>&payload=<base64>. This endpoint does not require an amount or invoice number. E-Commerce transactions send 5 blank spaces for MerchantTerminalNumber.
Required fields
Optional fields
The example below uses the test endpoint and a sandbox API key, and shows an E-Commerce (InputType=I) card registration. Replace credentials and base URL before going live. No charge is made. Store the token from the response.
Always returned
Conditionally returned
The following codes are most relevant to this endpoint. For the complete catalogue see the Return Code Index.