public interface APIService
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<Authorize> |
authenticate_authorize_transaction(java.lang.String authorizeID,
CreateOTPVerificationRequest createOTPVerificationRequest)
Authenticate authorize transaction call.
|
retrofit2.Call<Charge> |
authenticate(java.lang.String chargeID,
CreateOTPVerificationRequest createOTPVerificationRequest)
Authenticate call.
|
retrofit2.Call<Authorize> |
createAuthorize(CreateAuthorizeRequest createAuthorizeRequest)
Create authorize call.
|
retrofit2.Call<Charge> |
createCharge(CreateChargeRequest createChargeRequest)
Create charge call.
|
retrofit2.Call<SaveCard> |
createSaveCard(CreateSaveCardRequest createSaveCardRequest)
Create save card call.
|
retrofit2.Call<Token> |
createTokenWithEncryptedCard(CreateTokenWithCardDataRequest createTokenWithEncryptedDataRequest)
Create token with encrypted card call.
|
retrofit2.Call<Token> |
createTokenWithExistingCard(CreateTokenWithExistingCardDataRequest createTokenWithExistingCardDataRequest)
Create token with existing card call.
|
retrofit2.Call<DeleteCardResponse> |
deleteCard(java.lang.String customerId,
java.lang.String cardId)
Delete Saved Card
|
retrofit2.Call<PaymentOptionsResponse> |
getPaymentOptions(PaymentOptionsRequest paymentOptionsRequest)
Gets payment options.
|
retrofit2.Call<SDKSettings> |
init()
Init call.
|
retrofit2.Call<Authorize> |
request_authenticate_authorization(java.lang.String authorizeID)
Request authenticate authorization call.
|
retrofit2.Call<Charge> |
request_authenticate(java.lang.String chargeID)
Request authenticate call.
|
retrofit2.Call<AddressFormatsResponse> |
retrieveAddressFormats()
Retrieve address formats call.
|
retrofit2.Call<Authorize> |
retrieveAuthorize(java.lang.String authorizeId)
Retrieve authorize call.
|
retrofit2.Call<BINLookupResponse> |
retrieveBINLookup(java.lang.String binNumber)
Retrieve bin lookup call.
|
retrofit2.Call<Charge> |
retrieveCharge(java.lang.String chargeId)
Retrieve charge call.
|
retrofit2.Call<SaveCard> |
retrieveSaveCard(java.lang.String saveCardId)
Retrieve save card call.
|
retrofit2.Call<Token> |
retrieveToken(java.lang.String tokenId)
Retrieve token call.
|
retrofit2.Call<Charge> |
updateCharge(java.lang.String chargeId)
Update charge call.
|
@GET(value="init") retrofit2.Call<SDKSettings> init()
@GET(value="tokens/{token_id}")
retrofit2.Call<Token> retrieveToken(@Path(value="token_id")
java.lang.String tokenId)
tokenId - the token id@GET(value="bin/{bin_number}")
retrofit2.Call<BINLookupResponse> retrieveBINLookup(@Path(value="bin_number")
java.lang.String binNumber)
binNumber - the bin number@GET(value="billing_address") retrofit2.Call<AddressFormatsResponse> retrieveAddressFormats()
@POST(value="tokens") retrofit2.Call<Token> createTokenWithEncryptedCard(@Body CreateTokenWithCardDataRequest createTokenWithEncryptedDataRequest)
createTokenWithEncryptedDataRequest - the create token with encrypted data request@POST(value="tokens") retrofit2.Call<Token> createTokenWithExistingCard(@Body CreateTokenWithExistingCardDataRequest createTokenWithExistingCardDataRequest)
createTokenWithExistingCardDataRequest - the create token with existing card data request@POST(value="charges") retrofit2.Call<Charge> createCharge(@Body CreateChargeRequest createChargeRequest)
createChargeRequest - the create charge request@POST(value="card/verify") retrofit2.Call<SaveCard> createSaveCard(@Body CreateSaveCardRequest createSaveCardRequest)
createSaveCardRequest - the create save card request@GET(value="charges/{charge_id}")
retrofit2.Call<Charge> retrieveCharge(@Path(value="charge_id")
java.lang.String chargeId)
chargeId - the charge id@GET(value="card/verify/{verify_id}")
retrofit2.Call<SaveCard> retrieveSaveCard(@Path(value="verify_id")
java.lang.String saveCardId)
saveCardId - the save card id@POST(value="authorize") retrofit2.Call<Authorize> createAuthorize(@Body CreateAuthorizeRequest createAuthorizeRequest)
createAuthorizeRequest - the create authorize request@GET(value="authorize/{authorize_id}")
retrofit2.Call<Authorize> retrieveAuthorize(@Path(value="authorize_id")
java.lang.String authorizeId)
authorizeId - the authorize id@POST(value="charges/authenticate/{charge_id}")
retrofit2.Call<Charge> authenticate(@Path(value="charge_id")
java.lang.String chargeID,
@Body
CreateOTPVerificationRequest createOTPVerificationRequest)
chargeID - the charge idcreateOTPVerificationRequest - the create otp verification request@POST(value="authorize/authenticate/{authorize_id}")
retrofit2.Call<Authorize> authenticate_authorize_transaction(@Path(value="authorize_id")
java.lang.String authorizeID,
@Body
CreateOTPVerificationRequest createOTPVerificationRequest)
authorizeID - the authorize idcreateOTPVerificationRequest - the create otp verification request@PUT(value="charges/authenticate/{charge_id}")
retrofit2.Call<Charge> request_authenticate(@Path(value="charge_id")
java.lang.String chargeID)
chargeID - the charge id@PUT(value="authorize/authenticate/{authorize_id}")
retrofit2.Call<Authorize> request_authenticate_authorization(@Path(value="authorize_id")
java.lang.String authorizeID)
authorizeID - the authorize id@POST(value="payment/types") retrofit2.Call<PaymentOptionsResponse> getPaymentOptions(@Body PaymentOptionsRequest paymentOptionsRequest)
paymentOptionsRequest - the payment options request@PUT(value="charges/{charge_id}")
retrofit2.Call<Charge> updateCharge(@Path(value="charge_id")
java.lang.String chargeId)
chargeId - the charge id@DELETE(value="card/{customer_id}/{card_id}")
retrofit2.Call<DeleteCardResponse> deleteCard(@Path(value="customer_id")
java.lang.String customerId,
@Path(value="card_id")
java.lang.String cardId)
customerId - cardId -