This method is used to obtain information about a Payment Method


This method has the path /payment/<version>/ and follows the MicroBase API calling conventions.

Argument Required Type Example Description
id yes String ia5RA1W9 The Payment Method id to get info on.


Returns a Payment Method object:

  "ok": true,
  "payment" : {
    "id" : "ia5RA1W9",
    "title" : "Credit Card",
    "gateway" : "stripe",
    "active" : true


Expected errors that this method could return. Some errors return additional data.

Error Data Description
payment_method_not_found - The Payment Method was not found


curl --request GET \
  --url http://localhost:3000/services/payment/v1/ \
  --header 'authorization: Bearer xxxxx...' \
  --header 'accept: application/json' \
  --header 'content-type: application/json'