All URIs are relative to http://localhost/v3
Method | HTTP request | Description |
---|---|---|
post_digitalwalletprovisionrequests_androidpay | POST /digitalwalletprovisionrequests/androidpay | Validates and creates Android-specific provisioning request data |
post_digitalwalletprovisionrequests_applepay | POST /digitalwalletprovisionrequests/applepay | Validates Apple certificates and creates Apple-specific provisioning request data |
post_digitalwalletprovisionrequests_samsungpay | POST /digitalwalletprovisionrequests/samsungpay | Validates and creates Samsung-specific provisioning request data |
post_digitalwalletprovisionrequests_androidpay(opts)
Validates and creates Android-specific provisioning request data
require 'time'
require 'marqeta'
api_instance = Marqeta::DigitalWalletProvisionRequestsApi.new
opts = {
body: Marqeta::DigitalWalletAndroidPayProvisionRequest.new({card_token: 'card_token_example', device_type: 'MOBILE_PHONE', provisioning_app_version: 'provisioning_app_version_example', wallet_account_id: 'wallet_account_id_example', device_id: 'device_id_example'}) # DigitalWalletAndroidPayProvisionRequest |
}
begin
# Validates and creates Android-specific provisioning request data
result = api_instance.post_digitalwalletprovisionrequests_androidpay(opts)
p result
rescue Marqeta::ApiError => e
puts "Error when calling DigitalWalletProvisionRequestsApi->post_digitalwalletprovisionrequests_androidpay: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> post_digitalwalletprovisionrequests_androidpay_with_http_info(opts)
begin
# Validates and creates Android-specific provisioning request data
data, status_code, headers = api_instance.post_digitalwalletprovisionrequests_androidpay_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <DigitalWalletAndroidPayProvisionResponse>
rescue Marqeta::ApiError => e
puts "Error when calling DigitalWalletProvisionRequestsApi->post_digitalwalletprovisionrequests_androidpay_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | DigitalWalletAndroidPayProvisionRequest | [optional] |
DigitalWalletAndroidPayProvisionResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
post_digitalwalletprovisionrequests_applepay(opts)
Validates Apple certificates and creates Apple-specific provisioning request data
require 'time'
require 'marqeta'
api_instance = Marqeta::DigitalWalletProvisionRequestsApi.new
opts = {
body: Marqeta::DigitalWalletApplePayProvisionRequest.new({card_token: 'card_token_example', device_type: 'MOBILE_PHONE', provisioning_app_version: 'provisioning_app_version_example', certificates: ['certificates_example'], nonce: 'nonce_example', nonce_signature: 'nonce_signature_example'}) # DigitalWalletApplePayProvisionRequest |
}
begin
# Validates Apple certificates and creates Apple-specific provisioning request data
result = api_instance.post_digitalwalletprovisionrequests_applepay(opts)
p result
rescue Marqeta::ApiError => e
puts "Error when calling DigitalWalletProvisionRequestsApi->post_digitalwalletprovisionrequests_applepay: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> post_digitalwalletprovisionrequests_applepay_with_http_info(opts)
begin
# Validates Apple certificates and creates Apple-specific provisioning request data
data, status_code, headers = api_instance.post_digitalwalletprovisionrequests_applepay_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <DigitalWalletApplePayProvisionResponse>
rescue Marqeta::ApiError => e
puts "Error when calling DigitalWalletProvisionRequestsApi->post_digitalwalletprovisionrequests_applepay_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | DigitalWalletApplePayProvisionRequest | [optional] |
DigitalWalletApplePayProvisionResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
post_digitalwalletprovisionrequests_samsungpay(opts)
Validates and creates Samsung-specific provisioning request data
require 'time'
require 'marqeta'
api_instance = Marqeta::DigitalWalletProvisionRequestsApi.new
opts = {
body: Marqeta::DigitalWalletAndroidPayProvisionRequest.new({card_token: 'card_token_example', device_type: 'MOBILE_PHONE', provisioning_app_version: 'provisioning_app_version_example', wallet_account_id: 'wallet_account_id_example', device_id: 'device_id_example'}) # DigitalWalletAndroidPayProvisionRequest |
}
begin
# Validates and creates Samsung-specific provisioning request data
result = api_instance.post_digitalwalletprovisionrequests_samsungpay(opts)
p result
rescue Marqeta::ApiError => e
puts "Error when calling DigitalWalletProvisionRequestsApi->post_digitalwalletprovisionrequests_samsungpay: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> post_digitalwalletprovisionrequests_samsungpay_with_http_info(opts)
begin
# Validates and creates Samsung-specific provisioning request data
data, status_code, headers = api_instance.post_digitalwalletprovisionrequests_samsungpay_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <DigitalWalletSamsungPayProvisionResponse>
rescue Marqeta::ApiError => e
puts "Error when calling DigitalWalletProvisionRequestsApi->post_digitalwalletprovisionrequests_samsungpay_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | DigitalWalletAndroidPayProvisionRequest | [optional] |
DigitalWalletSamsungPayProvisionResponse
No authorization required
- Content-Type: application/json
- Accept: application/json