Allinpay Cross-Border API Signing and Verification Quick Integration
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_87ac9f03/gcp-api-quick-integration.
About this skill
Problem
In cross-border payment integration, signing and verification often require repeated debugging when field order, digest algorithm, header semantics, or private key format are inconsistent. This skill extracts the security layer of the Allinpay cross-border query API into a runnable base, so engineers can validate request signing, response verification, and a minimal call chain before mapping business models.
How It Works
It reads keyid, cusid, merid, and privateKey from integration-config.json first, with optional key file or environment variable fallback. It then generates a minimal project in the customer-specified language, usually including:
- Config loading: reads integration parameters from external config or environment variables
- Signing tool: builds headers using GCP1-RSA-SHA512 and SHA-256 digest
- Verification tool: validates response signatures with the platform public key
- Call entry: invokes the query endpoint and displays the verification result
Boundaries
This skill covers only the query endpoint and the common security layer. It does not generate business DTOs, VOs, state machines, or full service orchestration. Real private keys are not hardcoded by default; external configuration is preferred. For lower Java targets, avoid APIs available only in newer JDK versions, and clean build caches after changes.
Use Cases
- When integrating the Allinpay cross-border query API, generate a runnable signing and response verification example.
- Move keyid and private key into external config while validating the query call chain.
- Generate a Java 8 payment signing client and self-check the required header and signing formats.
- Reuse the same GCP1-RSA-SHA512 signing and verification base in C#, Go, or Node projects.
Best For
- Payment backend engineer: needs a minimal runnable signing and verification project for the query API.
- Integration test engineer: needs to validate headers, response verification, and applyid parameters.
- Technical lead: needs consistent GCP signing implementation and config boundaries across languages.
- Java 8 maintainer: needs runnable signing client code without newer JDK APIs.
Related Skills
Automatically indexes Gradle-cached AAR/JAR dependency classes and returns library coordinates, versions, and public APIs by fully qualified name, using only the Python standard library.
Codifies AMT and YourMT3 training conventions, script patterns, hyperparameters, precision, checkpoints, and NaN safeguards.
Retrieve relevant chunks from a customer-managed PKM dataset by dataset_id and return concise, source-annotated answers.
Convert PRDs, user stories, or functional specs into prioritized test-point checklists covering functional, business-rule, boundary, exception, and non-functional dimensions.