Retreive Issuer
POST/source/issuer
Retreive Issuer
Request
- application/json
Body
required
- CreditCardSource
- DevicePaymentSource
sourceobjectrequired
Simplified payment source object for which to retreive 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.
metadataobject
A set of key-value pairs where both key and value are strings. Metadata allows you to add more information to the object that will be returned later on in responses and webhook messages. Metadata is searchable using the Payment List API.
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.
{
"issuer_name": "Moyasar Sandbox Bank.",
"issuer_country": "SA",
"issuer_card_type": "debit",
"issuer_card_category": "SIGNATURE"
}
- 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
}