This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-12-03 02:35 UTC.
Copies a stored card this merchant holds into a merchant it has been granted to provision into,
or returns the target's existing token when it already holds the card.
The source merchant is always the merchant the API key belongs to. The card number never leaves the
platform: the response carries the target's `pt_` reference, the brand and the last four
digits. Send a `cva_` alias to move the CVV too; the response then carries a new alias for the
target card, and the alias sent stops working.
Signed in, you can send this request to your own sandbox merchant from the console
and read the answer.
Sign in to try it.
Example request
Each example below is one request, shown in every language. Choose an example and a language, then replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a TokenProvisionRequestDto. See the Request body section below for its fields.
Parameters
Name
In
Type
Description
suppressNullsrequired
query
boolean
If true, omit properties with null values.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Request body
application/json, required
Field
Type
Description
sourcePaymentTokenrequired
string
The `pt_` reference of the stored card to copy. It must belong to the merchant whose API key
makes the request, be active, and be a card.nullablemax length 64
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
targetMerchantIdrequired
string (uuid)
The merchant to copy the card into. An administrator must have granted this merchant to provision
into it.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
cvvAliasrequired
string
Optional. A `cva_` CVV alias issued for the source card. When sent, the alias moves with the
card: the response carries a new alias for the target card, and the one sent stops working.nullablemax length 64pattern ^cva_[A-Za-z0-9]+$
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
targetCustomerIdrequired
string (uuid)
Optional. A customer of the target merchant to attach a newly created target token to. Ignored
when the target already holds the card, which keeps its existing customer.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
The target merchant's `pt_` reference for the card. Charge it with the target merchant's own
API key.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isNewrequired
boolean
`true` when a new token was created in the target merchant;
`false` when the target already held the card, in which case
`paymentToken` is its existing token. Calling again with the same card answers
`false` with the same reference.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
cardBrandrequired
string
The card brand, such as `Visa`.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
last4required
string
The last four digits of the card number.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
cvvAliasrequired
string
A `cva_` CVV alias for the target card, present only when the request carried one. It lives
for what remained of the alias sent, which stops working.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This response has no documented body fields.
The request was refused because a rate limit was exceeded, or because something a later retry can clear stopped it. A rate limit refusal carries an `application/problem+json` body: wait at least the interval `Retry-After` names before retrying, then back off. Limits are tuned per deployment, so read the allowance from the response headers rather than assuming a fixed ceiling. Any other refusal carries the standard error envelope as `application/json`, and its `error.code` names the cause.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This response has no documented body fields.
400Bad RequestBad request. The request was malformed or failed validation. When validation rejected it, `error.validationErrors` names each member at fault and why.
401UnauthorizedUnauthorized. The request carried no API key or signed-in session, or the key it carried is invalid, revoked or expired.
403ForbiddenForbidden. The API key lacks the scope this operation needs, the signed-in user lacks the permission, or a business rule refused the request. The error code in the body names the reason.
404Not FoundNot found. The resource the request names does not exist or is not visible to the caller: a resource that belongs to a merchant or tenant outside the caller's scope is reported as not found.
500Internal Server ErrorInternal server error. The platform failed unexpectedly while handling the request. If it keeps failing, contact support and quote the correlation id, which the response carries in the `X-Correlation-Id` header and as `error.data.correlationId`.
501Not ImplementedNot implemented. The operation is declared but has no implementation on this deployment, so no request to it can succeed. Retrying does not help.
defaultThe request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. The error reference lists the values `error.code` can take.The request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. The error reference lists the values `error.code` can take.