Skip to content

/AWS1/CL_BDCCNBSCDPTOKENREQINP

Coinbase CDP token request parameters.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_requestmethod TYPE /AWS1/BDCPAYMENTHTTPMETHODTYPE /AWS1/BDCPAYMENTHTTPMETHODTYPE

The HTTP method for the payment API request.

iv_requestpath TYPE /AWS1/BDCPMNTREQUESTPATHTYPE /AWS1/BDCPMNTREQUESTPATHTYPE

The path of the payment API request.

Optional arguments:

iv_requesthost TYPE /AWS1/BDCPMNTREQUESTHOSTTYPE /AWS1/BDCPMNTREQUESTHOSTTYPE

The host for the payment API request. Defaults to "api.cdp.coinbase.com".

iv_includewalletauthtoken TYPE /AWS1/BDCBOOLEAN /AWS1/BDCBOOLEAN

Set to true for wallet write operations (requires walletSecret configured).

iv_requestbody TYPE /AWS1/BDCCNBSCDPPMNTREQBDYTYPE /AWS1/BDCCNBSCDPPMNTREQBDYTYPE

Request body JSON — used to generate wallet auth JWT.


Queryable Attributes

requestMethod

The HTTP method for the payment API request.

Accessible with the following methods

Method Description
GET_REQUESTMETHOD() Getter for REQUESTMETHOD, with configurable default
ASK_REQUESTMETHOD() Getter for REQUESTMETHOD w/ exceptions if field has no value
HAS_REQUESTMETHOD() Determine if REQUESTMETHOD has a value

requestHost

The host for the payment API request. Defaults to "api.cdp.coinbase.com".

Accessible with the following methods

Method Description
GET_REQUESTHOST() Getter for REQUESTHOST, with configurable default
ASK_REQUESTHOST() Getter for REQUESTHOST w/ exceptions if field has no value
HAS_REQUESTHOST() Determine if REQUESTHOST has a value

requestPath

The path of the payment API request.

Accessible with the following methods

Method Description
GET_REQUESTPATH() Getter for REQUESTPATH, with configurable default
ASK_REQUESTPATH() Getter for REQUESTPATH w/ exceptions if field has no value
HAS_REQUESTPATH() Determine if REQUESTPATH has a value

includeWalletAuthToken

Set to true for wallet write operations (requires walletSecret configured).

Accessible with the following methods

Method Description
GET_INCLUDEWALLETAUTHTOKEN() Getter for INCLUDEWALLETAUTHTOKEN

requestBody

Request body JSON — used to generate wallet auth JWT.

Accessible with the following methods

Method Description
GET_REQUESTBODY() Getter for REQUESTBODY, with configurable default
ASK_REQUESTBODY() Getter for REQUESTBODY w/ exceptions if field has no value
HAS_REQUESTBODY() Determine if REQUESTBODY has a value