---
title: "Add gateway profile data to a stored credential profile"
method: POST
path: "/v1/payment-methods/{payment-method-id}/profiles/{profile-number}/profile-data"
tags: ["Payment Methods"]
---

# Add gateway profile data to a stored credential profile

`POST /v1/payment-methods/{payment-method-id}/profiles/{profile-number}/profile-data`

## Request

- Base URL: `https://rest.test.zuora.com`
- URL: `https://rest.test.zuora.com/v1/payment-methods/{payment-method-id}/profiles/{profile-number}/profile-data`
- Auth: HTTP bearer

Adds gateway profile data to an existing stored credential profile within a payment method.

Use this operation to seed or backfill gateway-specific data, such as the `authGateway` and `networkTransactionId` fields, on a stored credential profile that was created without it. This is typically used when migrating a stored credential profile to be processed through a different payment gateway.

## Path parameters

- `payment-method-id` string, required
- `profile-number` integer, required

## Headers

- `Idempotency-Key` string
- `Accept-Encoding` string
- `Content-Encoding` string
- `Zuora-Track-Id` string
- `Zuora-Entity-Ids` string
- `Zuora-Org-Ids` string
- `Zuora-Version` string

## Request body

- AddGatewayProfileDataRequest
  - `authGateway` string, required: Specifies the ID of the payment gateway that Zuora will use when activating the stored credential profile.
  - `networkTransactionId` string, required: The ID of a network transaction provided by the payment gateway.

## Response `200`

- AddGatewayProfileDataResponse
  - `id` string: ID of the created gateway profile data.
  - `success` boolean: Indicates whether this call succeeds.

## Other responses

- `500`: Internal Server Error
- `4XX`: Request Errors

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc.dev/zuora/apis/api-reference/revisions/2deecb0dd041?raw)
