Payment Methods
POST /find_payment_methods
Changed onTo find a payment methods associated with a specific order, use one of the following values to search:<ul><li><code>pnm_order_identifier</code></li><li><code>site_order_identifier</code></li></ul></br>To find all payment methods for a specific customer, use one of the following values:<ul><li><code>pnm_customer_identifier</code></li><li><code>site_customer_identifier</code></li></ul></br>You can also use the <code>site_creator_identifier</code> parameter to search for payment methods.
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
Payment Method Found
Example response
{
"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
removed the success response with the status
- info
api operation id
find_payment_methodswas added - info
the request property
signaturebecame optional
2 more changes in this revision
- breaking