Retrieves a single price by ID. Note that the response does not indicate whether this price is your current default — that flag is accepted on create but is not returned on read.
The same access rule as listing applies: available to a platform business and to a business hosted by a platform, and any other merchant is rejected with 401. A price ID that is not yours returns 404 with Entity not found: Price; one that is not well-formed is rejected with 400 before the lookup.
- Production serverhttps://api.glomopay.com/api/v1/prices/{id}
curl -i -X GET \
https://api.glomopay.com/api/v1/prices/price_E602dMzgjpDC \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Price found
The unique identifier for the price. Pass this value as price_id when creating a payin or an order to apply this referral fee to it.
The amount that will be deducted from your balance for this pricing. A positive integer representing the smallest currency unit. For example, if the amount is $299.00, then pass 29900 in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to represent an amount of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, for amount ¥295, pass the value as 295
The percentage fee, in basis points: 1 basis point is 0.01%, so 1000 is 10%. Required when pricing_type is percentage, and must not be sent when it is fixed.
Set this pricing as default for the business. Overrides the previously set default if set to true.
When the price was created, as an ISO 8601 date-time in UTC.
{ "id": "price_DdWp_HUbOnlg", "pricing_type": "fixed", "fees_amount": 1000, "fees_currency": "USD", "bps": null, "set_as_default": true, "created_at": "2021-06-01T12:00:00Z", "updated_at": "2021-06-01T12:00:00Z" }