Create Customer by Transaction ID

A Create Customer Profile by Transaction ID request allows you to use the credit card billing information from a past transaction to store a customer's billing and payment information in PayTrace's PCI-compliant Customer Database(Vault) for your account. This request will allow you to assign a customer ID(token) to eliminate your software from storing sensitive payment information.

Request

Response

POST: /v1/customer/create_from_transaction

REQUEST:

{
  "customer_id": "customer789",
  "transaction_id": "79352347",
  "billing_address": {
    "name": "Steve Smith",
    "street_address": "8320 E. West St.",
    "city": "Spokane",
    "state": "WA",
    "zip": "85284"
  }
}

Field types: R – Required, O – Optional, C - Conditional

RESPONSE:

{
  "success": true,
  "response_code": 160,
  "status_message": "The customer profile for customer789/Steve Smith was successfully created.",
  "customer_id": "customer789"
}