Create payment method with card data

ℹ️

The base URL is different for this endpoint. Use https://secure.getansa.com for production, and https://secure-sandbox.getansa.com for sandbox.

Creates a payment method using cardholder data. This endpoint securely accepts PCI-scoped data and creates a payment method associated with the specified customer.

Please note, certain Payment Service Providers are not eligible for this endpoint.


Authorization Scope

Both the merchant secret key and client secret key are authorized to call this endpoint.

Path Params
string
required
Body Params
string
required
int64
required

Expiry month should be in one or two digit form: M or MM.

int64
required

Expiry year should be in four-digit form: YYYY.

string
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json