Credits

Get a credit purchase status

The status of one purchase of the team after payment. It never returns the client secret or the payment fingerprint, and only the buyer sees user_match_already_used (any other member sees match_already_used).

get/teams/{team_slug}/funding/purchases/{purchase_id}

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/teams/{team_slug}/funding/purchases/{purchase_id}
  • Auth: HTTP bearer

Path parameters

team_slugstring required
Example:team-a-bb4478bd2e2e
purchase_idstring uuid required
Example:0b0f4d0e-5a51-4a0a-9a39-3a5a4c1f2b6d

Response

Purchase status retrieved successfully

idstring uuid required
amountnumber required
status'OPEN' | 'PROCESSING' | 'SETTLED' | 'FAILED' | 'EXPIRED' required
match_amountnumber required
match_decision'granted' | 'offer_disabled' | 'already_funded' | 'match_already_used' | 'user_match_already_used' | 'has_paid_order' | 'payment_identity_unavailable' | 'payment_method_already_used' nullable required
settled_atstring nullable required
processing_feenumber required

The fee charged on top of the amount, in dollars

totalnumber required

What the customer pays, amount plus fee, in dollars

Example response

{
  "processing_fee": 7.5,
  "total": 257.5
}

Changes

No recorded changes to this operation across all 3 revisions of this API.