Skip to content

Get Resource Payment Token

bedrockagentcore_get_resource_payment_token R Documentation

Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms

Description

Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms.

Usage

bedrockagentcore_get_resource_payment_token(workloadIdentityToken,
  resourceCredentialProviderName, paymentTokenRequest)

Arguments

workloadIdentityToken

[required] Workload access token for authorization.

resourceCredentialProviderName

[required] Name of the payment credential provider to use.

paymentTokenRequest

[required] Vendor-specific token request input. Contains all request parameters in a type-safe, vendor-specific structure.

Value

A list with the following syntax:

list(
  paymentTokenResponse = list(
    coinbaseCdpTokenResponse = list(
      bearerToken = "string",
      walletAuthToken = "string"
    ),
    stripePrivyTokenResponse = list(
      authorizationSignature = "string",
      requestExpiry = 123,
      appId = "string",
      basicAuthToken = "string"
    )
  )
)

Request syntax

svc$get_resource_payment_token(
  workloadIdentityToken = "string",
  resourceCredentialProviderName = "string",
  paymentTokenRequest = list(
    coinbaseCdpTokenRequest = list(
      requestMethod = "GET"|"POST"|"PUT"|"DELETE"|"PATCH",
      requestHost = "string",
      requestPath = "string",
      includeWalletAuthToken = TRUE|FALSE,
      requestBody = "string"
    ),
    stripePrivyTokenRequest = list(
      requestHost = "string",
      requestPath = "string",
      requestBody = "string",
      includeAuthorizationSignature = TRUE|FALSE
    )
  )
)