Nuvei User Payment Options API

Manages stored payment instruments (User Payment Options / UPOs) including card and APM tokenization. Supports addUPOCreditCard, addUPOAPM, editUPOCreditCard, editUPOAPM, deleteUPO, getUserUPOs, and enableUPO/disableUPO.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /addUPOCreditCard.do Add a saved credit card payment option · Add Credit Card UPO #
Ask an LLM
“How do I let a shopper save a credit card for 3D Secure 2 payments?”
“Can I store a card number and expiry when adding a card payment option?”
Tell an agent
Add credit card {ccCardNumber} expiring {ccExpMonth}/{ccExpYear} as a payment option for user {userTokenId}.
Save a card for payment option {ccCardNumber} named {ccNameOnCard}.
POST /addUPOAPM.do Add a saved APM payment option · Add APM UPO #
Ask an LLM
“How do I let a shopper save a digital wallet or bank payment for 3D Secure 2?”
“Can I store a chosen alternative payment method instead of a card?”
Tell an agent
Add {paymentMethodName} as a payment option for user {userTokenId}.
Save {apmData} as a new alternative payment method for {userTokenId}.
POST /editUPOCreditCard.do Update a saved credit card payment option · Edit Credit Card UPO #
Ask an LLM
“How do I change the expiry date on a shopper's saved card?”
“Can I edit the cardholder name on a saved credit card payment option?”
Tell an agent
Change the expiry on card payment option {userPaymentOptionId} to {ccExpMonth}/{ccExpYear}.
Rename saved card {userPaymentOptionId} to {ccNameOnCard}.
POST /editUPOAPM.do Update a saved alternative payment option · Edit APM UPO #
Ask an LLM
“How do I edit the billing address on a shopper's saved alternative payment method?”
“Can I change the expiry or name on an APM payment option a user already saved?”
Tell an agent
Update the billing address to {billingAddress} on saved APM option {userPaymentOptionId} for user {userTokenId}.
Edit APM option {userPaymentOptionId} to expire {ccExpMonth}/{ccExpYear} for user {userTokenId}.
POST /deleteUPO.do Remove a saved payment option · Delete UPO #
Ask an LLM
“How do I let a shopper remove a card or bank account they saved?”
“Can I delete one payment option without deleting the user's whole wallet?”
Tell an agent destructive · confirm first
Delete payment option {userPaymentOptionId} for user {userTokenId}.
Remove the saved card or bank payment option {userPaymentOptionId}.
POST /getUserUPOs.do List a shopper's saved payment options · Get User UPOs #
Ask an LLM
“Which cards and alternative payment methods does a shopper have saved?”
“Can I show all saved payment options for one user in a single call?”
Tell an agent
Show the saved payment options for user {userTokenId}.
List every saved card and bank account for {userTokenId}.
POST /enableUPO.do Enable a payment option · Enable UPO #
Ask an LLM
“How do I turn a saved payment option back on?”
“Can I reactivate a payment method a shopper disabled?”
Tell an agent
Enable payment option {userPaymentOptionId} for user {userTokenId}.
Reactivate saved bank account {userPaymentOptionId}.
POST /disableUPO.do Disable a payment option · Disable UPO #
Ask an LLM
“How do I prevent a shopper from paying with one saved card?”
“Can I temporarily switch off a payment method without deleting it?”
Tell an agent
Disable payment option {userPaymentOptionId} for user {userTokenId}.
Suspend saved card {userPaymentOptionId} until the shopper re-enables it.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nuvei:nuvei-user-payment-options-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nuvei-user-payment-options-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nuvei 3DS User Payment Options API
  description: 3D Secure 2 authentication endpoints supporting PSD2 SCA.
  version: '1.0'
  contact:
    name: Nuvei Developer Support
    url: https://docs.nuvei.com
servers:
- url: https://secure.safecharge.com/ppp/api/v1
  description: Production
- url: https://ppp-test.nuvei.com/ppp/api/v1
  description: Sandbox
tags:
- name: User Payment Options
paths:
  /addUPOCreditCard.do:
    post:
      tags:
      - User Payment Options
      summary: Add Credit Card UPO
      operationId: addUPOCreditCard
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddUPOCardRequest'
      responses:
        '200':
          description: UPO created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UPOResponse'
  /addUPOAPM.do:
    post:
      tags:
      - User Payment Options
      summary: Add APM UPO
      operationId: addUPOAPM
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddUPOAPMRequest'
      responses:
        '200':
          description: UPO created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UPOResponse'
  /editUPOCreditCard.do:
    post:
      tags:
      - User Payment Options
      summary: Edit Credit Card UPO
      operationId: editUPOCreditCard
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditUPORequest'
      responses:
        '200':
          description: UPO updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UPOResponse'
  /editUPOAPM.do:
    post:
      tags:
      - User Payment Options
      summary: Edit APM UPO
      operationId: editUPOAPM
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditUPORequest'
      responses:
        '200':
          description: UPO updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UPOResponse'
  /deleteUPO.do:
    post:
      tags:
      - User Payment Options
      summary: Delete UPO
      operationId: deleteUPO
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteUPORequest'
      responses:
        '200':
          description: UPO deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UPOResponse'
  /getUserUPOs.do:
    post:
      tags:
      - User Payment Options
      summary: Get User UPOs
      operationId: getUserUPOs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetUserUPOsRequest'
      responses:
        '200':
          description: List of UPOs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUserUPOsResponse'
  /enableUPO.do:
    post:
      tags:
      - User Payment Options
      summary: Enable UPO
      operationId: enableUPO
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToggleUPORequest'
      responses:
        '200':
          description: UPO enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UPOResponse'
  /disableUPO.do:
    post:
      tags:
      - User Payment Options
      summary: Disable UPO
      operationId: disableUPO
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToggleUPORequest'
      responses:
        '200':
          description: UPO disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UPOResponse'
components:
  schemas:
    GetUserUPOsResponse:
      type: object
      properties:
        paymentMethods:
          type: array
          items:
            type: object
            properties:
              userPaymentOptionId:
                type: string
              upoName:
                type: string
              upoStatus:
                type: string
              upoRegistrationDate:
                type: string
              ccCardNumber:
                type: string
              ccExpMonth:
                type: string
              ccExpYear:
                type: string
              brand:
                type: string
              uniqueCC:
                type: string
              bin:
                type: string
              last4Digits:
                type: string
        status:
          type: string
          enum:
          - SUCCESS
          - ERROR
    UPOResponse:
      type: object
      properties:
        userPaymentOptionId:
          type: string
        status:
          type: string
          enum:
          - SUCCESS
          - ERROR
        errCode:
          type: integer
        reason:
          type: string
        merchantId:
          type: string
        merchantSiteId:
          type: string
        version:
          type: string
        clientRequestId:
          type: string
        internalRequestId:
          type: integer
    DeleteUPORequest:
      allOf:
      - $ref: '#/components/schemas/MerchantAuth'
      - type: object
        properties:
          userPaymentOptionId:
            type: string
    GetUserUPOsRequest:
      allOf:
      - $ref: '#/components/schemas/MerchantAuth'
    ToggleUPORequest:
      allOf:
      - $ref: '#/components/schemas/MerchantAuth'
      - type: object
        properties:
          userPaymentOptionId:
            type: string
    AddUPOCardRequest:
      allOf:
      - $ref: '#/components/schemas/MerchantAuth'
      - type: object
        properties:
          ccCardNumber:
            type: string
          ccExpMonth:
            type: string
          ccExpYear:
            type: string
          ccNameOnCard:
            type: string
          billingAddress:
            type: object
    AddUPOAPMRequest:
      allOf:
      - $ref: '#/components/schemas/MerchantAuth'
      - type: object
        properties:
          paymentMethodName:
            type: string
          apmData:
            type: object
            additionalProperties: true
          billingAddress:
            type: object
    MerchantAuth:
      type: object
      required:
      - merchantId
      - merchantSiteId
      - userTokenId
      - timeStamp
      - checksum
      properties:
        merchantId:
          type: string
        merchantSiteId:
          type: string
        userTokenId:
          type: string
        clientRequestId:
          type: string
        timeStamp:
          type: string
        checksum:
          type: string
    EditUPORequest:
      allOf:
      - $ref: '#/components/schemas/MerchantAuth'
      - type: object
        properties:
          userPaymentOptionId:
            type: string
          ccExpMonth:
            type: string
          ccExpYear:
            type: string
          ccNameOnCard:
            type: string
          billingAddress:
            type: object