Skip to main content
POST
Store a card (not supported)

Authorizations

Authorization
string
header
required

Send your API key as Authorization: ApiKey pc_<your-key>. The API also accepts the key without the ApiKey prefix. API keys authenticate requests to /api/partner/v1/*. Contact GroGov support to rotate your key or deactivate your API account. Rotation invalidates the previous key. Account deactivation blocks both API keys and access tokens.

Body

application/json
portalId
string<uuid>
required

The ID of an agency's payment configuration in GroGov. The portal determines the payment gateway and service fee configuration. GroGov provides the portal IDs your API account can access.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

paymentMethod
object
required
payer
object

Response

501 - application/json

VAULT_NOT_SUPPORTED. Storing cards is not supported.

success
boolean
Example:

false

message
string
Example:

"Payment was declined."

details
object