Create an instrumentCopy Pagepost https://api.staging.payrails.io/payment/instrumentsCreate a payment instrument.Body ParamsholderIduuidUnique identifier of the Holder in Payrails. At least one of holderId or holderReference values have to be provided in the request.holderReferencestringMerchant-provided reference for the transaction counterparty, i.e. the paying consumer. At least one of holderReference or holderId values have to be provided in the request.paymentMethodstringenumrequiredRepresents the payment method type.googlePayapplePaycardpayPalbankAccountAllowed:googlePayapplePaycardpayPalbankAccountfutureUsagestringenumRepresents the future usage to define the payment flows that the stored instrument will be used for.CardOnFileSubscriptionCardOnFileUnscheduledCardOnFileAllowed:SubscriptionCardOnFileUnscheduledCardOnFiledescriptionstringHuman-friendly description of the Instrument.merchantReferencestringMerchant-provided reference for the instrument.networkTransactionReferencestringIdentifier of the initial payment made with this instrument on the Networks, e.g. Mastercard Trace ID or Visa Transaction ID.storeInstrumentbooleanTrue if the holder wants to store the instrument for future use when payment is completed.truetruefalsedefaultboolean | nullTrue if the holder wants to make this instrument as default.truefalseprovisionNetworkTokenbooleanTrue if the merchant wants to provision a network token for this instrument.truefalsedataType-specific information about the instrument.CardEncryptedCardBankAccountPayPalDCBApplePayGooglePayCard objecttokenobject | nullToken-specific information about the instrument. Required when creating an instrument from a tokenization tool like the Payrails SDK.token object | nullencryptedDataAttributesobjectAdditional attributes for the instrument tokenization.encryptedDataAttributes objectHeadersx-idempotency-keyuuidrequiredIdempotency key to be used. Sending again the same key would return the same result without re-executing the update.Responses 201Created. 400Bad Request. 401Unauthorized. 403Insufficient Scope. 404Not Found. 429Too Many Requests.Updated 4 days ago