/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

idstring or nullRead-onlyformat: "uuid"
remote_idstring or null

The third-party API ID of the matching object.

created_atdatetime or nullRead-only
The datetime that this object was created by Merge.
modified_atdatetime or nullRead-only
The datetime that this object was modified by Merge.
method_typeenum or null
The type of the payment method. * `CREDIT_CARD` - CREDIT_CARD * `DEBIT_CARD` - DEBIT_CARD * `ACH` - ACH * `CASH` - CASH * `CHECK` - CHECK
Allowed values:
is_activeboolean or null

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

remote_updated_atdatetime or null
When the third party's payment method was updated.
field_mappingsobject or nullRead-only
remote_datalist of objects or nullRead-only
<MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA9WTbWvbMBDHv8rQy+CHJWkaahgjT2sTsNI27lgpRVyki6NEthxLTtqUfvdhJ7TJVlgHhbF3uuPuf3e/Oz0RDhZjnT+SgADnukitTGPikEQLVCQgl/CYYGpDtHMtiEMgkxQSPApn6wZxiCmyTOcWxTeJSpiLHGckIH6CeYxukcqZROG/JvkytRjnYKVOjf+S7M6qbOIQJdMlis4u4c9yu3B37/nFNL6SxhKHZGCMnee6iOfXuCrQvEO57E1hSQGUK8CCf6Di5juZt3zlFAIVWhR9sNBHi7wcd19xbm1mAt+fo8q8qroncO1j6kNuJVdo/FbzrNE+a7l7lar6VxarL/XaYjXV03aNxVwxKGphxB9oNNzQRXxCeycPdHvTotvlli6Wn2sshloYha1xdNsc9zv18RsBbHL64+x7t98d0RrfDpp0cbuhEa+HEV9Ot8Pm6JxvRhdXD3R72wj7N00aDVqjc10f965N2LvWYcfziEMOt0qCu6dDx/5wKNpJIS0eRw8TiPGAym4dkEk3K6ZKcs80PUhgq1PYGI/rxE9QSPApWlOqMbMqIEcvq863AiZ1+sKcBGRALzq0N+gfn0FnDVLBVCEJbF7gb3dMgjsiDQNu5bpsOal+ArOPWWml5UilXvVLiENyTLRFVi7q2GIZ2PmrSwpyXxqrQuYoLiGHBC3mZbn7Z+ctbFeF5Muu1kvzaZwqmX4Qv1dZd0eQ3cwap912/T8i+fIuMgEWBQP7t3QnEOOnYWqBc/sxYEtFtldkkx3a9VpS04Z/jXb/Mu88x/vnnzv/6KsoBgAA" />