Orders
POST /get_fees
Changed onRetrieves the convenience fees associated with a <code>pnm_order_identifier</code> or a <code>site_order_identifier</code>. Results can be filtered by <code>payment_amount</code>, <code>payment_method_identifier</code>, <code>payment_type</code>, and <code>site_channel</code>.
Request
- Base URLhttps://api.paynearme-sandbox.com/json-api
- Auth
- OAuth 2Client credentialsToken URLhttps://login.paynearme.com/oauth/token
- or API key in query parameter signature
Request body
Example request
{
"pnm_order_identifier": "84338052224"
}Response
Successful Operation
Example response
{
"status": "ok",
"payment_methods": [
{
"consumer_fee_amount": 10,
"consumer_fee_currency": "USD",
"merchant_fee_currency": "USD",
"total_fee_amount": 10,
"total_fee_currency": "USD",
"fee_amount": 3.99,
"fee_currency": "USD",
"accounts": [
{
"payment_method_identifier": "f9d5c9076006b",
"name": "John Smith",
"description": "Debit Card",
"pull-enabled": "true",
"push_enabled": "true",
"number": "6666",
"fee_amount": 3,
"fee_currency": "USD",
"expiration_date": "12/2025",
"card_brand": "Visa",
"pay_pal_account_id": "YB6935G4PHS92",
"pay_pal_account_email": "buyer@paynearme.com"
}
]
}
]
}Changes
- breaking
the request property
timestampbecame required - breaking
added
subschema #1to the response bodyoneOflist for the response status - breaking
the response's body type changed from
objectto no type for status
14 more changes in this revision
- breaking