/payment-methods/{id}

Beta

Returns a PaymentMethod object with the given id.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

include_remote_databooleanOptional

Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_databooleanOptional

Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

Response

namestring<=255 characters

The payment method’s name

idstringOptionalRead-onlyformat: "uuid"
remote_idstring or nullOptional

The third-party API ID of the matching object.

created_atdatetimeOptionalRead-only
The datetime that this object was created by Merge.
modified_atdatetimeOptionalRead-only
The datetime that this object was modified by Merge.
method_typeenum or nullOptional
The type of the payment method.
is_activebooleanOptional

True if the payment method is active, False if not.

remote_updated_atdatetime or nullOptional
When the third party's payment method was updated.
payment_method_urlstring or nullOptionalformat: "uri"<=2000 characters
The 3rd party URL of the payment method.
field_mappingsobject or nullOptionalRead-only
remote_datalist of objects or nullOptionalRead-only