Retrieve Issuer
POST/source/issuer
Retrieve Issuer
Request
- application/json
Body
required
- CreditCardSource
- DevicePaymentSource
sourceobjectrequired
Simplified payment source object for which to retrieve the issuer.
oneOf
Possible values: [creditcard
]
Possible values: Value must match regular expression ^\d{16,19}$
The card number as a string without any separators.
Possible values: [applepay
]
Encrypted Apple Pay token to be processed.
Responses
- 201
- 400
- 401
- 403
- application/json
- Schema
- Example (from schema)
Schema
Name of the card issuing bank. This name is inferred based on the card BIN or IIN.
Origin country of the card issuer. A two-letter ISO 3166 code.
Possible values: [debit
, credit
, charge_card
, unspecified
]
Indicates the card category or product type, e.g., Platinum, Signature, etc.
This field is a human readable text and does not have a defined set of values.
The first 6 to 8 digits of the card to clarify the card BIN number
The last 4 digits of the card if you supply the full card number
{
"issuer_name": "Moyasar Sandbox Bank.",
"issuer_country": "SA",
"issuer_card_type": "debit",
"issuer_card_category": "SIGNATURE",
"first_digits": "41111111",
"last_digits": "4111"
}
- application/json
- Schema
- Example (from schema)
Schema
Contains the error type
Human readable error message for the error
Contains string-array pair representing a field and list of validation errors.
{
"type": "invalid_request",
"message": null,
"errors": {
"foo": "this is returned for validation errors only"
}
}
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [authentication_error
]
Possible values: [Invalid authorization credentials
]
{
"type": "authentication_error",
"message": "Invalid authorization credentials",
"errors": null
}
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [api_error
]
Possible values: [User not authorized
]
{
"type": "api_error",
"message": "User not authorized",
"errors": null
}