Set reissue address

Set Reissue Address

This endpoint sets or updates the delivery address to be used when reissuing a physical payment card. When a card needs to be replaced or reissued, the system will ship the new card to the address provided here. This is applicable to physical (plastic) cards only, as virtual and burner cards do not require a shipping address.

Endpoint

POST /api/paymentCards/reissue/address/{paymentCardId}

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint before triggering a card reissue when the cardholder's delivery address has changed or needs to be specified for the replacement card shipment. This is typically called when a card is reported lost or stolen, or when a card is expiring and the holder has moved. Setting the correct address ensures the reissued card reaches the cardholder without delay.

Path Parameters

ParameterTypeRequiredDescription
paymentCardIdstringYesThe unique identifier of the payment card to set the reissue shipping address for

Request Body

FieldTypeRequiredDescription
streetAddressstringYesPrimary street address line (e.g., house number and street name). Must match pattern: starts with a number followed by street name components
extendedAddressstringNoSecondary address line for apartment, suite, unit, building, floor, etc.
postalCodestringYes5-digit US ZIP code (pattern: ^\d{5}$)
regionstringYes2-character state or region code (e.g., FL, CA)
localitystringYesCity or locality name
countryCodeAlpha3stringYes3-character ISO 3166-1 alpha-3 country code (e.g., USA)
{
  "streetAddress": "123 Main Street",
  "extendedAddress": "Apt 4B",
  "postalCode": "33101",
  "region": "FL",
  "locality": "Miami",
  "countryCodeAlpha3": "USA"
}

Response

200 OK

FieldTypeDescription
streetAddressstringPrimary street address line that was saved
extendedAddressstringSecondary address line that was saved (nullable)
postalCodestring5-digit ZIP code that was saved (nullable)
localitystringCity or locality that was saved (nullable)
regionstring2-character state or region code that was saved (nullable)
countryCodeAlpha3string3-character ISO country code that was saved (nullable)
{
  "streetAddress": "123 Main Street",
  "extendedAddress": "Apt 4B",
  "postalCode": "33101",
  "locality": "Miami",
  "region": "FL",
  "countryCodeAlpha3": "USA"
}

Error Codes

CodeWhen it happens
400Missing required fields, invalid postal code format (not 5 digits), invalid region code (not exactly 2 characters), invalid country code (not exactly 3 characters), or street address fails pattern validation
401Token missing, expired, or invalid
403Insufficient permissions to update this payment card
404Payment card with the specified paymentCardId not found
500Internal server error

Common Mistakes

  • Providing a postal code that is not exactly 5 digits — postalCode must match ^\d{5}$ (US ZIP codes only)
  • Using a full state name instead of the 2-character abbreviation for region (use FL not Florida)
  • Providing a 2-character ISO country code instead of the required 3-character alpha-3 code for countryCodeAlpha3 (use USA not US)
  • Attempting to set a reissue address on a virtual or burner card, which do not support physical shipping
  • Including special characters in streetAddress that do not match the required pattern — the address must start with a number

Related Endpoints

  • POST /api/paymentCards/reissue/{paymentCardId} — Trigger the reissue of a payment card after the address has been set
  • GET /api/paymentCards/{paymentCardId} — Retrieve current payment card details including its status
  • POST /api/paymentCards — Create a new payment card for a customer

Example

curl -X POST https://api.banking.netevia.dev/api/paymentCards/reissue/address/card_abc123xyz \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "streetAddress": "123 Main Street",
    "extendedAddress": "Apt 4B",
    "postalCode": "33101",
    "region": "FL",
    "locality": "Miami",
    "countryCodeAlpha3": "USA"
  }'
Path Params
string
required
Body Params
address
object
required
courier
object
required
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json