Activate a card
User Experience
Flow
Sequence Diagram
Pre-requisites
Required APIs
API
Inbound/Outbound
Description
SDK
Last updated
Was this helpful?
Was this helpful?
SecureEditText secureEditText = <Object of type SecureEditText>;
EntryUI entryUI = new EntryUI(secureEditText);
String cardID = "<Card ID>";
d1Task.activatePhysicalCard(cardID, entryUI, new D1Task.Callback<Void>() {
@Override
public void onSuccess(Void data) {
// Proceed with subsequent flows. The card is now activated.
}
@Override
public void onError(D1Exception exception) {
// Refer to D1 SDK Integration – Error Management section
}
});let secureTextField = <Object of type D1SecureTextField>
let entryUI = EntryUI(entryTextField: secureTextField)
let cardID = <Card ID>
d1Task.activatePhysicalCard(cardID, entryUI: entryUI) { error in
if let error = error {
// Refer to D1 SDK Integration – Error Management section
} else {
// Proceed with subsequent flows. The card is now activated.
}
}