Index | Conventions

api/v1/internal/setcardonfileuuid

Path: api/v1/internal/setcardonfileuuid

This endpoint supports the following methods:
POST

Summary: Sets the reference UUID that will be used for recurring CC payments

Request content

AttributeTypeRequiredDescription
cardNointeger✓The CardFile card number to set the reference UUID on.
referenceUUIDstring✓The reference UUID used to identify the stored card for recurring credit-card payments.

Response content

AttributeTypeDescription
errorsarray of string
successboolean

Example POST

Path: api/v1/setcardonfileuuid

Request:

{
  "cardNo": 12345,
  "referenceUUID": "550e8400-e29b-41d4-a716-446655440000"
}

Response:

This example shows the maximum set of fields the endpoint can return, all populated. A real response only contains the data that applies to that record, so fields that are empty or not relevant are omitted — do not assume every field shown here will be present in every response.

{
  "success": true,
  "errors": []
}