E-File Magic

Tin-matching

Purchase real-time TIN matching credits

Explicitly buy one currently offered credit pack using an authorized saved-card alias.

POST
/api/v1/tin-matching/credits/purchase
Authentication
OAuth 2.0 access token
Required scopes
tin_matching.purchase
Idempotency key
Required
Rate-limit cost
10 units

How to use this endpoint

These operations require access to all account filers, including the authorizing member’s access. To permit credit purchases, enable Real-time TIN matching credits in both account Order permissions and the connection Limits, choose a saved credit card and set positive spending limits. Buying credits requires payment-management authority. Deposit balance and payment terms cannot fund credit packs.

Credit packs are explicit purchases and share the API daily amount and submission-count limits with orders. A declined or interrupted purchase still counts toward that day’s limits; exact retries count once. No automatic top-up occurs when credits run out.

Copy expected_version and pricing_digest from credits, expected_policy_version from funding and expected_total_minor from the selected package. Review and affirm current terms. Both versions, price and authority are checked before collection. Reuse the identical body and key after uncertainty; a pending receipt may require reconciliation. A changed body under the same key is rejected.

Retrying a request? Keep the same idempotency key and body after an uncertain result. A different key can repeat the action.

cURL request
curl --request POST 'https://api.efilemagic.com/api/v1/tin-matching/credits/purchase' \
  --header 'Authorization: Bearer <access-token>' \
  --header 'Idempotency-Key: <unique-operation-key>' \
  --header 'Content-Type: application/json' \
  --data-binary @request.json

Replace placeholders with your own values. Use the API resource origin provided for your environment.

Create request.json using the documented fields. Field descriptions are not sample values.